Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
UnauthorizedAccessEventArgs.cs
1using System;
2using System.Diagnostics;
3using System.Reflection;
4
6{
12 public delegate void UnauthorizedAccessEventHandler(object Sender, UnauthorizedAccessEventArgs e);
13
17 public class UnauthorizedAccessEventArgs : EventArgs
18 {
19 private readonly MethodBase method;
20 private readonly Type type;
21 private readonly Assembly assembly;
22 private readonly StackTrace trace;
23
32 : base()
33 {
34 this.method = Method;
35 this.type = Type;
36 this.assembly = Assembly;
37 this.trace = Trace;
38 }
39
43 public MethodBase Method => this.method;
44
48 public Type Type => this.type;
49
53 public Assembly Assembly => this.assembly;
54
58 public StackTrace Trace => this.trace;
59 }
60}
Event arguments for the Assert.UnauthorizedAccess event.
Assembly Assembly
Assembly in which the type is defined.
UnauthorizedAccessEventArgs(MethodBase Method, Type Type, Assembly Assembly, StackTrace Trace)
Event arguments for the Assert.UnauthorizedAccess event.
delegate void UnauthorizedAccessEventHandler(object Sender, UnauthorizedAccessEventArgs e)
Delegate for unauthorized access event handlers.