2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Hosting / HostingEnvironment.cs
1 //
2 // System.Web.Hosting.HostingEnvironment.cs
3 //
4 // Author:
5 //      Chris Toshok (toshok@ximian.com)
6 //
7
8 //
9 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 #if NET_2_0
32
33 using System;
34 using System.Web.Caching;
35
36 namespace System.Web.Hosting {
37
38         public sealed class HostingEnvironment : MarshalByRefObject
39         {
40                 [MonoTODO]
41                 public HostingEnvironment ()
42                 {
43                 }
44
45                 [MonoTODO]
46                 public static string ApplicationID {
47                         get { throw new NotImplementedException (); }
48                 }
49
50                 [MonoTODO]
51                 public static string ApplicationPhysicalPath {
52                         get { throw new NotImplementedException (); }
53                 }
54
55                 [MonoTODO]
56                 public static string ApplicationVirtualPath {
57                         get { throw new NotImplementedException (); }
58                 }
59
60                 [MonoTODO]
61                 public static Cache Cache {
62                         get { throw new NotImplementedException (); }
63                 }
64
65                 [MonoTODO]
66                 public static Exception InitializationException {
67                         get { throw new NotImplementedException (); }
68                 }
69
70                 [MonoTODO]
71                 public static bool IsHosted {
72                         get { throw new NotImplementedException (); }
73                 }
74
75                 [MonoTODO]
76                 public static ApplicationShutdownReason ShutdownReason {
77                         get { throw new NotImplementedException (); }
78                 }
79
80                 [MonoTODO]
81                 public static string SiteName {
82                         get { throw new NotImplementedException (); }
83                 }
84
85 #if notyet
86                 [MonoTODO]
87                 public static VirtualPathProvider VirtualPathProvider {
88                         get { throw new NotImplementedException (); }
89                 }
90 #endif
91
92                 [MonoTODO]
93                 public static void DecrementBusyCount ()
94                 {
95                         throw new NotImplementedException ();
96                 }
97
98                 [MonoTODO]
99                 public static IDisposable Impersonate ()
100                 {
101                         throw new NotImplementedException ();
102                 }
103
104                 [MonoTODO]
105                 public static IDisposable Impersonate (IntPtr token)
106                 {
107                         throw new NotImplementedException ();
108                 }
109
110                 [MonoTODO]
111                 public static IDisposable Impersonate (IntPtr userToken, string virtualPath)
112                 {
113                         throw new NotImplementedException ();
114                 }
115
116                 [MonoTODO]
117                 public static void IncrementBusyCount ()
118                 {
119                         throw new NotImplementedException ();
120                 }
121
122                 [MonoTODO]
123                 public override object InitializeLifetimeService ()
124                 {
125                         throw new NotImplementedException ();
126                 }
127
128                 [MonoTODO]
129                 public static void InitiateShutdown ()
130                 {
131                         throw new NotImplementedException ();
132                 }
133
134                 [MonoTODO]
135                 public static string MapPath (string virtualPath)
136                 {
137                         throw new NotImplementedException ();
138                 }
139
140                 [MonoTODO]
141                 public static void RegisterObject (IRegisteredObject obj)
142                 {
143                         throw new NotImplementedException ();
144                 }
145
146 #if notyet
147                 [MonoTODO]
148                 public static void RegisterVirtualPathProvider (VirtualPathProvider virtualPathProvider)
149                 {
150                         throw new NotImplementedException ();
151                 }
152 #endif
153                 
154                 [MonoTODO]
155                 public static IDisposable SetCultures (string virtualPath)
156                 {
157                         throw new NotImplementedException ();
158                 }
159
160                 [MonoTODO]
161                 public static IDisposable SetCultures ()
162                 {
163                         throw new NotImplementedException ();
164                 }
165
166                 [MonoTODO]
167                 public static void UnregisterObject (IRegisteredObject obj)
168                 {
169                         throw new NotImplementedException ();
170                 }
171         }
172
173 }
174
175 #endif