2007-11-22 Daniel Nauck <dna@mono-project.de>
authorDaniel Nauck <dna@mono-project.de>
Thu, 22 Nov 2007 15:11:36 +0000 (15:11 -0000)
committerDaniel Nauck <dna@mono-project.de>
Thu, 22 Nov 2007 15:11:36 +0000 (15:11 -0000)
        * System.Web.dll.sources: added
        System.Web/WebPageTraceListener.cs

        * WebPageTraceListener.cs: initial checkin (stubs).

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

mcs/class/System.Web/ChangeLog
mcs/class/System.Web/System.Web.dll.sources
mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/WebPageTraceListener.cs [new file with mode: 0644]

index dfb2612ca3eee65b946c69096329e7e0b487188e..850b752e25bd897526c9e0fbfdc87ad1a82950e2 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-22  Daniel Nauck  <dna@mono-project.de>
+
+        * System.Web.dll.sources: added
+        System.Web/WebPageTraceListener.cs
+
 2007-11-06  Marek Habersack  <mhabersack@novell.com>
 
        * System.Web.dll.sources: added
index b78d4e0c5d4a019b0b31f8bb53334f9b02ddecc7..2f6ea66a1159238dcea05058e218f5e212a782c9 100644 (file)
@@ -1132,6 +1132,7 @@ System.Web.Util/WorkItemCallback.cs
 System.Web.Util/WorkItem.cs
 System.Web/VirtualPathUtility.cs
 System.Web/WebCategoryAttribute.cs
+System.Web/WebPageTraceListener.cs
 System.Web/WebROCollection.cs
 System.Web/WebSysDescriptionAttribute.cs
 System.Web/XmlSiteMapProvider.cs
index c7da6d3bae73d371ba5a77ba8f894fe774d0f204..3b360ddf1ec7f6263dffc6fd567af70592ba7ddf 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-22  Daniel Nauck  <dna@mono-project.de>
+
+        * WebPageTraceListener.cs: initial checkin (stubs).
+
 2007-11-17  Marek Habersack  <mhabersack@novell.com>
 
        * HttpResponse.cs: make sure fileDependencies is not null before
diff --git a/mcs/class/System.Web/System.Web/WebPageTraceListener.cs b/mcs/class/System.Web/System.Web/WebPageTraceListener.cs
new file mode 100644 (file)
index 0000000..56a91ed
--- /dev/null
@@ -0,0 +1,75 @@
+//
+// WebPageTraceListener.cs
+//
+// Author:
+//     Daniel Nauck  <dna(at)mono-project(dot)de>
+//
+// Copyright (C) 2007 Daniel Nauck
+//
+// 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.Collections.Generic;
+using System.Diagnostics;
+using System.Security.Permissions;
+using System.Text;
+using System.Web;
+
+namespace System.Web
+{
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
+       AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal),
+       HostProtection (SecurityAction.LinkDemand, Synchronization = true)]
+       public class WebPageTraceListener : TraceListener
+       {
+               public override void TraceEvent (TraceEventCache eventCache, string source, TraceEventType severity, int id, string message)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void TraceEvent (TraceEventCache eventCache, string source, TraceEventType severity, int id, string format, params object[] args)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void Write (string message)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void Write (string message, string category)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void WriteLine (string message)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public override void WriteLine (string message, string category)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
+#endif
\ No newline at end of file