ScriptStack
1.0.5
Loading...
Searching...
No Matches
Src
Runtime
IClrPolicy.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Reflection;
3
4
namespace
ScriptStack.Runtime
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
}
ScriptStack.Runtime.IClrPolicy
Policy hook for CLR interop. Implementations decide what is accessible from scripts.
Definition
IClrPolicy.cs:10
ScriptStack.Runtime.IClrPolicy.IsTypeAllowed
bool IsTypeAllowed(Type t)
ScriptStack.Runtime.IClrPolicy.IsReturnValueAllowed
bool IsReturnValueAllowed(object? value)
ScriptStack.Runtime.IClrPolicy.IsCallAllowed
bool IsCallAllowed(MethodInfo m)
ScriptStack.Runtime.IClrPolicy.IsMemberAllowed
bool IsMemberAllowed(MemberInfo m)
ScriptStack.Runtime
Definition
ArrayList.cs:8
Generated by
1.15.0