update readme (#21797)
[mono-project.git] / mcs / class / System.Design / System.Windows.Forms.Design / AxImporter.cs
blobbe8c735ca3cac0cab4caa8a936ce8c833807cd5f
1 //
2 // System.Windows.Forms.Design.AxImporter.cs
3 //
4 // Author:
5 // Dennis Hayes (dennish@raytek.com)
6 // (C) 2002 Ximian, Inc. http://www.ximian.com
7 //
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 //
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 //
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 using System;
31 using System.IO;
32 using System.Reflection;
33 using System.Runtime.InteropServices;
35 namespace System.Windows.Forms.Design
37 [MonoTODO]
38 public class AxImporter
40 #region Public Instance Constructors
42 [MonoTODO]
43 public AxImporter (AxImporter.Options options)
45 this.options = options;
48 #endregion Public Instance Constructors
50 #region Public Instance Properties
52 [MonoTODO]
53 public string[] GeneratedAssemblies
55 get
57 throw new NotImplementedException ();
61 [MonoTODO]
62 public string[] GeneratedSources
64 get
66 throw new NotImplementedException ();
70 #endregion Public Instance Properties
72 #region Public Instance Methods
74 [MonoTODO]
75 public TYPELIBATTR[] GeneratedTypeLibAttributes
77 get
79 throw new NotImplementedException ();
83 [MonoTODO]
84 public string GenerateFromFile (FileInfo file)
86 throw new NotImplementedException ();
89 [MonoTODO]
90 public string GenerateFromTypeLibrary (UCOMITypeLib typeLib)
92 throw new NotImplementedException ();
95 [MonoTODO]
96 public string GenerateFromTypeLibrary (UCOMITypeLib typeLib, Guid clsid)
98 throw new NotImplementedException ();
101 #endregion Public Instance Methods
103 #region Public Static Methods
105 [MonoTODO]
106 public static string GetFileOfTypeLib (ref TYPELIBATTR tlibattr)
108 throw new NotImplementedException ();
111 #endregion Public Static Methods
113 #region Internal Instance Fields
115 internal AxImporter.Options options;
117 #endregion Internal Instance Fields
119 public sealed class Options
121 #region Public Instance Constructors
123 public Options ()
127 #endregion Public Instance Constructors
129 #region Public Instance Fields
131 [MonoTODO]
132 public bool delaySign;
133 [MonoTODO]
134 public bool genSources;
135 [MonoTODO]
136 public string keyContainer;
137 [MonoTODO]
138 public string keyFile;
139 [MonoTODO]
140 public StrongNameKeyPair keyPair;
142 [MonoTODO]
143 public bool noLogo;
144 [MonoTODO]
145 public string outputDirectory;
146 [MonoTODO]
147 public string outputName;
148 [MonoTODO]
149 public bool overwriteRCW;
150 [MonoTODO]
151 public byte[] publicKey;
152 [MonoTODO]
153 public AxImporter.IReferenceResolver references;
154 [MonoTODO]
155 public bool silentMode;
156 [MonoTODO]
157 public bool verboseMode;
158 [MonoTODO]
159 public bool msBuildErrors;
161 #endregion Public Instance Fields
164 public interface IReferenceResolver
166 string ResolveActiveXReference (UCOMITypeLib typeLib);
167 string ResolveComReference (AssemblyName name);
168 string ResolveComReference (UCOMITypeLib typeLib);
169 string ResolveManagedReference (string assemName);