5 // Marek Sieradzki (marek.sieradzki@gmail.com)
7 // (C) 2006 Marek Sieradzki
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.Runtime.InteropServices;
32 using Microsoft.Build.Framework;
34 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
37 public abstract class BaseReference {
48 string xmlHashAlgorithm;
54 protected internal BaseReference ()
56 throw new NotImplementedException ();
60 protected internal BaseReference (string path)
62 throw new NotImplementedException ();
66 public override string ToString ()
68 throw new NotImplementedException ();
74 set { group = value; }
84 public bool IsOptional {
85 get { return isOptional; }
86 set { isOptional = value; }
90 public string ResolvedPath {
91 get { return resolvedPath; }
92 set { resolvedPath = value; }
102 public string SourcePath {
103 get { return sourcePath; }
104 set { sourcePath = value; }
108 public string TargetPath {
109 get { return targetPath; }
110 set { targetPath = value; }
114 public string XmlGroup {
115 get { return xmlGroup; }
116 set { xmlGroup = value; }
120 public string XmlHash {
121 get { return xmlHash; }
122 set { xmlHash = value; }
126 public string XmlHashAlgorithm {
127 get { return xmlHashAlgorithm; }
128 set { xmlHashAlgorithm = value; }
132 public string XmlIsOptional {
133 get { return xmlIsOptional; }
134 set { xmlIsOptional = value; }
138 public string XmlPath {
139 get { return xmlPath; }
140 set { xmlPath = value; }
144 public string XmlSize {
145 get { return xmlSize; }
146 set { xmlSize = value; }
150 protected internal abstract string SortName {