New test.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks.Deployment.ManifestUtilities / AssemblyIdentity.cs
1 //
2 // AssemblyIdentity.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:
16 //
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 //
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.
27
28 #if NET_2_0
29
30 using System;
31 using System.Runtime.InteropServices;
32 using Microsoft.Build.Framework;
33
34 namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
35         
36         [ComVisible (false)]
37         public sealed class AssemblyIdentity {
38         
39                 string  culture;
40                 bool    isFrameworkAssembly;
41                 bool    isNeutralPlatform;
42                 bool    isStrongName;
43                 string  name;
44                 string  processorArchitecture;
45                 string  publicKeyToken;
46                 string  type;
47                 string  version;
48                 string  xmlCulture;
49                 string  xmlName;
50                 string  xmlProcessorArchitecture;
51                 string  xmlPublicKeyToken;
52                 string  xmlType;
53                 string  xmlVersion;
54         
55                 [MonoTODO]
56                 public AssemblyIdentity ()
57                 {
58                         throw new NotImplementedException ();
59                 }
60                 
61                 [MonoTODO]
62                 public AssemblyIdentity (AssemblyIdentity identity)
63                 {
64                         throw new NotImplementedException ();
65                 }
66                 
67                 [MonoTODO]
68                 public AssemblyIdentity (string name)
69                 {
70                         throw new NotImplementedException ();
71                 }
72                 
73                 [MonoTODO]
74                 public AssemblyIdentity (string name, string version)
75                 {
76                         throw new NotImplementedException ();
77                 }
78                 
79                 [MonoTODO]
80                 public AssemblyIdentity (string name, string version,
81                                          string publicKeyToken, string culture)
82                 {
83                         throw new NotImplementedException ();
84                 }
85
86                 [MonoTODO]
87                 public AssemblyIdentity (string name, string version,
88                                          string publicKeyToken, string culture,
89                                          string processorArchitecture)
90                 {
91                         throw new NotImplementedException ();
92                 }
93
94                 [MonoTODO]
95                 public AssemblyIdentity (string name, string version,
96                                          string publicKeyToken, string culture,
97                                          string processorArchitecture,
98                                          string type)
99                 {
100                         throw new NotImplementedException ();
101                 }
102                 
103                 [MonoTODO]
104                 public static AssemblyIdentity FromAssemblyName (string assemblyName)
105                 {
106                         throw new NotImplementedException ();
107                 }
108                 
109                 [MonoTODO]
110                 public static AssemblyIdentity FromFile (string path)
111                 {
112                         throw new NotImplementedException ();
113                 }
114                 
115                 [MonoTODO]
116                 public static AssemblyIdentity FromManagedAssembly (string path)
117                 {
118                         throw new NotImplementedException ();
119                 }
120                 
121                 [MonoTODO]
122                 public static AssemblyIdentity FromManifest (string path)
123                 {
124                         throw new NotImplementedException ();
125                 }
126                 
127                 [MonoTODO]
128                 public static AssemblyIdentity FromNativeAssembly (string path)
129                 {
130                         throw new NotImplementedException ();
131                 }
132                 
133                 [MonoTODO]
134                 public string GetFullName (FullNameFlags flags)
135                 {
136                         throw new NotImplementedException ();
137                 }
138                 
139                 [MonoTODO]
140                 public override string ToString ()
141                 {
142                         throw new NotImplementedException ();
143                 }
144                 
145                 [MonoTODO]
146                 public string Culture {
147                         get { return culture; }
148                         set { culture = value; }
149                 }
150                 
151                 [MonoTODO]
152                 public bool IsFrameworkAssembly {
153                         get { return isFrameworkAssembly; }
154                 }
155                 
156                 [MonoTODO]
157                 public bool IsNeutralPlatform {
158                         get { return isNeutralPlatform; }
159                 }
160                 
161                 [MonoTODO]
162                 public bool IsStrongName {
163                         get { return isStrongName; }
164                 }
165                 
166                 [MonoTODO]
167                 public string Name {
168                         get { return name; }
169                         set { name = value; }
170                 }
171                 
172                 [MonoTODO]
173                 public string ProcessorArchitecture {
174                         get { return processorArchitecture; }
175                         set { processorArchitecture = value; }
176                 }
177                 
178                 [MonoTODO]
179                 public string PublicKeyToken {
180                         get { return publicKeyToken; }
181                         set { publicKeyToken = value; }
182                 }
183                 
184                 [MonoTODO]
185                 public string Type {
186                         get { return type; }
187                         set { type = value; }
188                 }
189                 
190                 [MonoTODO]
191                 public string Version {
192                         get { return version; }
193                         set { version = value; }
194                 }
195                 
196                 [MonoTODO]
197                 public string XmlCulture {
198                         get { return xmlCulture; }
199                         set { xmlCulture = value; }
200                 }
201                 
202                 [MonoTODO]
203                 public string XmlName {
204                         get { return xmlName; }
205                         set { xmlName = value; }
206                 }
207                 
208                 [MonoTODO]
209                 public string XmlProcessorArchitecture {
210                         get { return xmlProcessorArchitecture; }
211                         set { xmlProcessorArchitecture = value; }
212                 }
213                 
214                 [MonoTODO]
215                 public string XmlPublicKeyToken {
216                         get { return xmlPublicKeyToken; }
217                         set { xmlPublicKeyToken = value; }
218                 }
219                 
220                 [MonoTODO]
221                 public string XmlType {
222                         get { return xmlType; }
223                         set { xmlType = value; }
224                 }
225                 
226                 [MonoTODO]
227                 public string XmlVersion {
228                         get { return xmlVersion; }
229                         set { xmlVersion = value; }
230                 }
231                 
232                 [Flags]
233                 public enum FullNameFlags {
234                         Default,
235                         ProcessorArchitecture,
236                         Type,
237                         All
238                 }
239         }
240 }
241
242 #endif