MonoTODO in LoaderOptimization
[mono.git] / mcs / class / corlib / System / AppDomainSetup.cs
1 //
2 // System/AppDomainSetup.cs
3 //
4 // Author:
5 //   Dietmar Maurer (dietmar@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System;
11 using System.Runtime.CompilerServices;
12
13 namespace System {
14
15
16         [Serializable]
17         public sealed class AppDomainSetup : IAppDomainSetup {
18                 string application_base;
19                 string application_name;
20                 string cache_path;
21                 string configuration_file;
22                 string dynamic_base;
23                 string license_file;
24                 string private_bin_path;
25                 string private_bin_path_probe;
26                 string shadow_copy_directories;
27                 string shadow_copy_files;
28                 bool publisher_policy;
29                 private LoaderOptimization loader_optimization;
30                 
31                 [MethodImplAttribute(MethodImplOptions.InternalCall)]
32                 private static extern AppDomainSetup InitAppDomainSetup (AppDomainSetup setup);
33
34                 public AppDomainSetup ()
35                 {
36                         InitAppDomainSetup (this);
37                 }
38                 
39                 public string ApplicationBase {
40
41                         get {
42                                 return application_base;
43                         }
44
45                         set {
46                                 application_base = value;
47                         }
48                 }
49
50                 public string ApplicationName {
51
52                         get {
53                                 return application_name;
54                         }
55
56                         set {
57                                 application_name = value;
58                         }
59                 }
60
61                 public string CachePath {
62
63                         get {
64                                 return cache_path;
65                         }
66
67                         set {
68                                 cache_path = value;
69                         }
70                 }
71
72                 public string ConfigurationFile {
73
74                         get {
75                                 return configuration_file;
76                         }
77
78                         set {
79                                 configuration_file = value;
80                         }
81                 }
82
83                 public bool DisallowPublisherPolicy {
84                         get {
85                                 return publisher_policy;
86                         }
87
88                         set {
89                                 publisher_policy = value;
90                         }
91                 }
92                 
93                 public string DynamicBase {
94
95                         get {
96                                 return dynamic_base;
97                         }
98
99                         set {
100                                 dynamic_base = value;
101                         }
102                 }
103
104                 public string LicenseFile {
105
106                         get {
107                                 return license_file;
108                         }
109
110                         set {
111                                 license_file = value;
112                         }
113                 }
114
115                 [MonoTODO("--share-code")]
116                 public LoaderOptimization LoaderOptimization
117                 {
118                         get {
119                                 return loader_optimization;
120                         }
121
122                         set { 
123                                 loader_optimization = value;
124                         }
125                 }
126
127                 public string PrivateBinPath {
128
129                         get {
130                                 return private_bin_path;
131                         }
132
133                         set {
134                                 private_bin_path = value;
135                         }
136                 }
137
138                 public string PrivateBinPathProbe {
139
140                         get {
141                                 return private_bin_path_probe;
142                         }
143
144                         set {
145                                 private_bin_path_probe = value;
146                         }
147                 }
148
149                 public string ShadowCopyDirectories {
150
151                         get {
152                                 return shadow_copy_directories;
153                         }
154
155                         set {
156                                 shadow_copy_directories = value;
157                         }
158                 }
159
160                 public string ShadowCopyFiles {
161
162                         get {
163                                 return shadow_copy_files;
164                         }
165
166                         set {
167                                 shadow_copy_files = value;
168                         }
169                 }
170                 
171         }
172 }