2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks.Deployment.ManifestUtilities / Manifest.cs
blob2d993f8ca5c97f1c04b18ef26b91ca2bbf0a5ec5
1 //
2 // Manifest.cs
3 //
4 // Author:
5 // Marek Sieradzki (marek.sieradzki@gmail.com)
6 //
7 // (C) 2006 Marek Sieradzki
8 //
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.
28 #if NET_2_0
30 using System;
31 using System.IO;
32 using System.Runtime.InteropServices;
33 using Microsoft.Build.Framework;
35 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
37 [ComVisible (false)]
38 public abstract class Manifest {
40 AssemblyIdentity assemblyIdentity;
41 AssemblyReferenceCollection assemblyReferences;
42 string description;
43 AssemblyReference entryPoint;
44 FileReferenceCollection fileReferences;
45 Stream inputStream;
46 OutputMessageCollection outputMessages;
47 bool readOnly;
48 string sourcePath;
49 AssemblyIdentity xmlAssemblyIdentity;
50 AssemblyReference[] xmlAssemblyReferences;
51 string xmlDescription;
52 FileReference[] xmlFileReferences;
53 string xmlSchema;
55 [MonoTODO]
56 protected internal Manifest ()
58 throw new NotImplementedException ();
61 [MonoTODO]
62 public void ResolveFiles ()
64 throw new NotImplementedException ();
67 [MonoTODO]
68 public void ResolveFiles (string[] searchPaths)
70 throw new NotImplementedException ();
73 [MonoTODO]
74 public override string ToString ()
76 throw new NotImplementedException ();
79 [MonoTODO]
80 public void UpdateFileInfo ()
82 throw new NotImplementedException ();
85 [MonoTODO]
86 public virtual void Validate ()
88 throw new NotImplementedException ();
91 [MonoTODO]
92 protected void ValidatePlatform ()
94 throw new NotImplementedException ();
97 [MonoTODO]
98 public AssemblyIdentity AssemblyIdentity {
99 get { return assemblyIdentity; }
100 set { assemblyIdentity = value; }
103 [MonoTODO]
104 public AssemblyReferenceCollection AssemblyReferences {
105 get { return assemblyReferences; }
108 [MonoTODO]
109 public string Description {
110 get { return description; }
111 set { description = value; }
114 [MonoTODO]
115 public virtual AssemblyReference EntryPoint {
116 get { return entryPoint; }
117 set { entryPoint = value; }
120 [MonoTODO]
121 public FileReferenceCollection FileReferences {
122 get { return fileReferences; }
125 [MonoTODO]
126 public Stream InputStream {
127 get { return inputStream; }
128 set { inputStream = value; }
131 [MonoTODO]
132 public OutputMessageCollection OutputMessages {
133 get { return outputMessages; }
136 [MonoTODO]
137 public bool ReadOnly {
138 get { return readOnly; }
139 set { readOnly = value; }
142 [MonoTODO]
143 public string SourcePath {
144 get { return sourcePath; }
145 set { sourcePath = value; }
148 [MonoTODO]
149 public AssemblyIdentity XmlAssemblyIdentity {
150 get { return xmlAssemblyIdentity; }
151 set { xmlAssemblyIdentity = value; }
154 [MonoTODO]
155 public AssemblyReference[] XmlAssemblyReferences {
156 get { return xmlAssemblyReferences; }
157 set { xmlAssemblyReferences = value; }
160 [MonoTODO]
161 public string XmlDescription {
162 get { return xmlDescription; }
163 set { xmlDescription = value; }
166 [MonoTODO]
167 public FileReference[] XmlFileReferences {
168 get { return xmlFileReferences; }
169 set { xmlFileReferences = value; }
172 [MonoTODO]
173 public string XmlSchema {
174 get { return xmlSchema; }
175 set { xmlSchema = value; }
180 #endif