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