blob: 17eb6ca99357b357460917851e15c186bd9f4a63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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();
}
}
}
|