Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CompilerParameters.cs « System.CodeDom.Compiler « System « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b41a9cc58d7bbfc6acadd88a505d1a29bfa1493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
//
// System.CodeDom.Compiler CompilerParameters Class implementation
//
// Author:
//   Daniel Stodden (stodden@in.tum.de)
//
// (C) 2002 Ximian, Inc.
//

using System.Collections.Specialized;

namespace System.CodeDom.Compiler
{
	public class CompilerParameters
	{
		private CompilerOptions compilerOptions;
		private bool generateExecutables;
		private bool generateInMemory;
		private bool includeDebugInformation;
		private string mainClass;
		private string outputAssembly;
		private StringCollection referencedAssemblies;
		private TempFileCollection tempFiles;
		private bool treatWarningsAsErrors;
		private IntPtr userToken;
		private int warningLevel;
		private string win32Resources;

		//
		// Constructors
		//
		public CompilerParameters()
		{
		}
		
		public CompilerParameters( string[] assemblyNames )
		{
		}

		public CompilerParameters( string[] assemblyNames, string output )
		{
		}

		public CompilerParameters( string[] assemblyNames, string output, bool includeDebugInfo )
		{
		}

		
		//
		// Properties
		//
		public CompilerOptions CompilerOptions {
			get {
				return compilerOptions;
			}
			set {
				compilerOptions = value;
			}
		}

		public bool GenerateExecutables {
			get {
				return generateExecutables;
			}
			set {
				generateExecutables = value;
			}
		}

		public bool GenerateInMemory {
			get {
				return generateInMemory;
			}
			set {
				generateInMemory = value;
			}
		}
		
		public bool IncludeDebugInformation {
			get {
				return includeDebugInformation;
			}
			set {
				includeDebugInformation = value;
			}
		}

		public string MainClass {
			get {
				return mainClass;
			}
			set {
				mainClass = value;
			}
		}

		public string OutputAssembly {
			get {
				return outputAssembly;
			}
			set {
				outputAssembly = value;
			}
		}

		public StringCollection ReferencedAssemblies {
			get {
				return referencedAssemblies;
			}
			set {
				referencedAssemblies = value;
			}
		}

		public TempFileCollection TempFiles {
			get {
				return tempFiles;
			}
			set {
				tempFiles = value;
			}
		}

		public bool TreatWarningsAsErrors {
			get {
				return treatWarningsAsErrors;
			}
			set {
				treatWarningsAsErrors = value;
			}
		}

		public IntPtr UserToken {
			get {
				return userToken;
			}
			set {
				userToken = value;
			}
		}

		public int WarningLevel {
			get {
				return warningLevel;
			}
			set {
				warningLevel = value;
			}
		}
		
		public string Win32Resources {
			get {
				return win32Resources;
			}
			set {
				win32Resources = value;
			}
		}
	}
};