**** Merged from MCS ****
[mono-project.git] / mcs / class / Microsoft.Vsa / Microsoft.Vsa / IVsaEngine.cs
blobf14d2cbb8dd7481108e4908093cf1e5076fb696c
1 //
2 // IVsaEngine.cs:
3 //
4 // Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
5 //
7 //
8 // Permission is hereby granted, free of charge, to any person obtaining
9 // a copy of this software and associated documentation files (the
10 // "Software"), to deal in the Software without restriction, including
11 // without limitation the rights to use, copy, modify, merge, publish,
12 // distribute, sublicense, and/or sell copies of the Software, and to
13 // permit persons to whom the Software is furnished to do so, subject to
14 // the following conditions:
15 //
16 // The above copyright notice and this permission notice shall be
17 // included in all copies or substantial portions of the Software.
18 //
19 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
23 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
24 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
25 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 namespace Microsoft.Vsa
30 using System;
31 using System.Runtime.InteropServices;
32 using System.Reflection;
33 using System.Security.Policy;
35 //[Guid ("")]
36 [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
37 public interface IVsaEngine
39 //[Guid ("")]
40 Assembly Assembly {
41 get;
45 //[Guid ("")]
46 Evidence Evidence {
47 get;
48 set;
52 //[Guid ("")]
53 bool GenerateDebugInfo {
54 get;
55 set;
59 //[Guid ("")]
60 bool IsCompiled {
61 get;
65 //[Guid ("")]
66 bool IsDirty {
67 get;
71 //[Guid ("")]
72 bool IsRunning {
73 get;
77 //[Guid ("")]
78 IVsaItems Items {
79 get;
83 //[Guid ("")]
84 string Language {
85 get;
89 //[Guid ("")]
90 int LCID {
91 get;
92 set;
96 //[Guid ("")]
97 string Name {
98 get;
99 set;
103 //[Guid ("")]
104 string RootMoniker {
105 get;
106 set;
110 //[Guid ("")]
111 string RootNamespace {
112 get;
113 set;
117 //[Guid ("")]
118 IVsaSite Site {
119 get;
120 set;
124 //[Guid ("")]
125 string Version {
126 get;
131 // public methods
133 //[Guid ("")]
134 void Close ();
137 //[Guid ("")]
138 bool Compile ();
141 //[Guid ("")]
142 object GetOption (string name);
145 //[Guid ("")]
146 void InitNew ();
149 //[Guid ("")]
150 bool IsValidIdentifier (string identifier);
153 //[Guid ("")]
154 void LoadSourceState (IVsaPersistSite site);
157 //[Guid ("")]
158 void Reset ();
161 //[Guid ("")]
162 void RevokeCache ();
165 //[Guid ("")]
166 void Run ();
169 //[Guid ("")]
170 void SaveCompiledState (out byte [] pe, out byte [] pdb);
173 //[Guid ("")]
174 void SaveSourceState (IVsaPersistSite site);
177 //[Guid ("")]
178 void SetOption (string name, object value);