Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2002-06-09 22:06:07 +0400
committerJonathan Pryor <jpryor@novell.com>2002-06-09 22:06:07 +0400
commitf7a8fc051bdb62a5f648b3cedb6e10ca47d22a12 (patch)
tree20b3b0cbc161666bda40e40abfda194a59c5f16b /mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs
parentd505910c8da8d7d0002239d3da62a6fc0450f294 (diff)
* EntryWrittenEventArgs.cs: Implemented
* EntryWrittenEventHandler.cs: Implemented * EventLog.cs: Stubbed out * EventLogEntry.cs: Stubbed out * EventLogEntryCOllection.cs: Implemented. * EventLogEntryType.cs: Implemented * EventLogInstaller.cs: Stubbed out * EventLogPermission.cs: Stubbed out * EventLogPermissionAccess.cs: Implemented * EventLogPermissionAttribute.cs: Stubbed out * EventLogPermissionEntry.cs: Stubbed out * EventLogPermissionEntryCollection.cs: Stubbed out * EventLogTraceListener.cs: Stubbed out svn path=/trunk/mcs/; revision=5191
Diffstat (limited to 'mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs48
1 files changed, 48 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs b/mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs
new file mode 100644
index 00000000000..17eb6ca9935
--- /dev/null
+++ b/mcs/class/System/System.Diagnostics/EventLogPermissionAttribute.cs
@@ -0,0 +1,48 @@
+//
+// System.Diagnostics.EventLogPermissionAttribute.cs
+//
+// Authors:
+// Jonathan Pryor (jonpryor@vt.edu)
+//
+// (C) 2002
+//
+
+using System;
+using System.Diagnostics;
+using System.Security;
+using System.Security.Permissions;
+
+namespace System.Diagnostics {
+
+ [AttributeUsage(
+ AttributeTargets.Assembly | AttributeTargets.Class |
+ AttributeTargets.Struct | AttributeTargets.Constructor |
+ AttributeTargets.Method | AttributeTargets.Event)]
+ [Serializable]
+ [MonoTODO("Just Stubbed Out")]
+ public class EventLogPermissionAttribute : CodeAccessSecurityAttribute {
+
+ public EventLogPermissionAttribute(SecurityAction action)
+ : base(action)
+ {
+ }
+
+// // May throw ArgumentException if computer name is invalid
+// public string MachineName {
+// get {throw new NotImplementedException();}
+// set {throw new NotImplementedException();}
+// }
+//
+// public EventLogPermissionAccess PermissionAccess {
+// get {throw new NotImplementedException();}
+// set {throw new NotImplementedException();}
+// }
+//
+ [MonoTODO]
+ public override IPermission CreatePermission()
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
+