Explorar o código

2002-08-26 Gonzalo Paniagua Javier <[email protected]>

	* ApplicationHost.cs: little fixes.

svn path=/trunk/mcs/; revision=7058
Gonzalo Paniagua Javier %!s(int64=23) %!d(string=hai) anos
pai
achega
e4e5331199

+ 8 - 3
mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs

@@ -15,13 +15,17 @@ namespace System.Web.Hosting
 {
 	public sealed class ApplicationHost
 	{
-		class ConfigInitHelper
+		internal class ConfigInitHelper : MarshalByRefObject
 		{
-			public void InitConfig ()
+			internal void InitConfig ()
 			{
 			}
 		}
 		
+		private ApplicationHost ()
+		{
+		}
+
 		public static object CreateApplicationHost (Type hostType,
 							    string virtualDir,
 							    string physicalDir)
@@ -58,7 +62,8 @@ namespace System.Web.Hosting
 				domain.SetData (key, (string) hTable [key]);
 
 			domain.SetData (".hostingVirtualPath", virtualDir);
-			//domain.SetData(".hostingInstallDir", ?????);
+			//FIXME: this should be the directory where dlls reside.
+			domain.SetData(".hostingInstallDir", "FIXME hostingInstallDir");
 			InitConfigInNewAppDomain (domain);
 			ObjectHandle o = domain.CreateInstance (hostType.Assembly.FullName,
 								hostType.FullName);

+ 4 - 0
mcs/class/System.Web/System.Web.Hosting/ChangeLog

@@ -1,3 +1,7 @@
+2002-08-26  Gonzalo Paniagua Javier <[email protected]>
+
+	* ApplicationHost.cs: little fixes.
+
 2002-08-20  Gonzalo Paniagua Javier <[email protected]>
 
 	* ApplicationHost.cs: use Assembly instead of Module.