Преглед изворни кода

2002-07-10 Gonzalo Paniagua Javier <[email protected]>

	* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.

svn path=/trunk/mcs/; revision=5692
Gonzalo Paniagua Javier пре 23 година
родитељ
комит
29fe45e402

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

@@ -1,3 +1,7 @@
+2002-07-10  Gonzalo Paniagua Javier <[email protected]>
+
+	* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
+
 2002-06-30  Gonzalo Paniagua Javier <[email protected]>
 
 	* System.Web/HttpResponse.cs: 

+ 6 - 3
mcs/class/System.Web/System.Web/HttpRuntime.cs

@@ -175,8 +175,9 @@ namespace System.Web {
 
 		[MonoTODO ("FormatResourceString (string, string, string)")]
 		internal static string FormatResourceString (string key, string arg0, string type) {
-			// String.Format (string, object, object);
-			throw new NotImplementedException ();
+			// By now give some useful info
+			return String.Format ("{0}: {1} {2}", key, arg0, type);
+			//throw new NotImplementedException ();
 		}
 
 		[MonoTODO ("FormatResourceString (string, string, string, string)")]
@@ -200,7 +201,9 @@ namespace System.Web {
 
 		[MonoTODO ("GetResourceStringFromResourceManager (string)")]
 		private string GetResourceStringFromResourceManager (string key) {
-			throw new NotImplementedException ();
+			// Keep going
+			return "String returned by HttpRuntime.GetResourceStringFromResourceManager";
+			//throw new NotImplementedException ();
 		}
 
 		[MonoTODO ("Get Application path from the appdomain object")]