2005-09-15 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Thu, 15 Sep 2005 22:26:50 +0000 (22:26 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 15 Sep 2005 22:26:50 +0000 (22:26 -0000)
* Microsoft.Web.Services/ScriptHandlerFactory.cs: new (stub) file.

* Microsoft.Web.Services/ScriptModule.cs: same.

svn path=/trunk/mcs/; revision=50114

mcs/class/Microsoft.Web.Atlas/ChangeLog
mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptHandlerFactory.cs [new file with mode: 0644]
mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptModule.cs [new file with mode: 0644]

index 52ce0a40a11abe552558d596aa1b8e8f354f7703..8c85547d85d7d8204817b00d29caee6b1d21a2c4 100644 (file)
@@ -1,3 +1,9 @@
+2005-09-15  Chris Toshok  <toshok@ximian.com>
+
+       * Microsoft.Web.Services/ScriptHandlerFactory.cs: new (stub) file.
+
+       * Microsoft.Web.Services/ScriptModule.cs: same.
+
 2005-09-15  Chris Toshok  <toshok@ximian.com>
 
        * Assembly/AssemblyInfo.cs: new file.
diff --git a/mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptHandlerFactory.cs b/mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptHandlerFactory.cs
new file mode 100644 (file)
index 0000000..3ff1869
--- /dev/null
@@ -0,0 +1,57 @@
+//
+// Microsoft.Web.Services.ScriptHandlerFactory
+//
+// Author:
+//   Chris Toshok (toshok@ximian.com)
+//
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System;
+using System.Web;
+
+namespace Microsoft.Web.Services
+{
+       public class ScriptHandlerFactory : IHttpHandlerFactory
+       {
+               public ScriptHandlerFactory ()
+               {
+                       Console.WriteLine ("new ScriptHandlerFactory");
+               }
+
+               public virtual IHttpHandler GetHandler (HttpContext context, string requestType, string virtualPath, string path)
+               {
+                       Console.WriteLine ("GetHandler ({0}, {1}, {2})", requestType, virtualPath, path);
+                       return null;
+               }
+
+               public virtual void ReleaseHandler (IHttpHandler handler)
+               {
+                       Console.WriteLine ("ReleaseHandler");
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptModule.cs b/mcs/class/Microsoft.Web.Atlas/Microsoft.Web.Services/ScriptModule.cs
new file mode 100644 (file)
index 0000000..5a18f79
--- /dev/null
@@ -0,0 +1,56 @@
+//
+// Microsoft.Web.Services.ScriptModule
+//
+// Author:
+//   Chris Toshok (toshok@ximian.com)
+//
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System;
+using System.Web;
+
+namespace Microsoft.Web.Services
+{
+       public class ScriptModule : IHttpModule
+       {
+               public ScriptModule ()
+               {
+                       Console.WriteLine ("in ScriptModule..ctor");
+               }
+
+               void IHttpModule.Dispose()
+               {
+                       Console.WriteLine ("in ScriptModule.Dispose");
+               }
+
+               void IHttpModule.Init (HttpApplication context)
+               {
+                       Console.WriteLine ("in ScriptModult.Init");
+               }
+       }
+}
+
+#endif