Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ApproveAssembly.cs
1using System.Reflection;
2
4{
9 {
10 private readonly Assembly assembly;
11
15 public ApproveAssembly(Assembly Assembly)
16 {
17 this.assembly = Assembly;
18 }
19
29 public override bool? Check(FrameInformation Frame)
30 {
31 if (Frame.Assembly == this.assembly)
32 return true;
33 else
34 return null;
35 }
36 }
37}
Checks for an approved assembly in the call stack.
override? bool Check(FrameInformation Frame)
Performs a check of a stack frame.
ApproveAssembly(Assembly Assembly)
Checks for an approved assembly in the call stack.
Abstract base class for call stack checks.
Contains information about a specific frame in a call stack.
Assembly Assembly
Assembly represented by the frame.