ScriptStack 1.0.5
Loading...
Searching...
No Matches
IClrPolicy.cs
Go to the documentation of this file.
1using System;
2using System.Reflection;
3
5{
9 public interface IClrPolicy
10 {
11 bool IsTypeAllowed(Type t);
12 bool IsMemberAllowed(MemberInfo m);
13 bool IsCallAllowed(MethodInfo m);
14 bool IsReturnValueAllowed(object? value);
15 }
16}
Policy hook for CLR interop. Implementations decide what is accessible from scripts.
Definition IClrPolicy.cs:10
bool IsReturnValueAllowed(object? value)
bool IsCallAllowed(MethodInfo m)
bool IsMemberAllowed(MemberInfo m)