ScriptStack 1.0.5
Loading...
Searching...
No Matches
ScriptStack.Runtime.IClrPolicy Interface Reference

Policy hook for CLR interop. Implementations decide what is accessible from scripts. More...

Inheritance diagram for ScriptStack.Runtime.IClrPolicy:
ScriptStack.Runtime.AllowAllClrPolicy ScriptStack.Runtime.DenyAllClrPolicy ScriptStack.Runtime.SafeClrPolicy

Public Member Functions

bool IsTypeAllowed (Type t)
bool IsMemberAllowed (MemberInfo m)
bool IsCallAllowed (MethodInfo m)
bool IsReturnValueAllowed (object? value)

Detailed Description

Policy hook for CLR interop. Implementations decide what is accessible from scripts.

Definition at line 9 of file IClrPolicy.cs.

Member Function Documentation

◆ IsCallAllowed()

bool ScriptStack.Runtime.IClrPolicy.IsCallAllowed ( MethodInfo m)

◆ IsMemberAllowed()

bool ScriptStack.Runtime.IClrPolicy.IsMemberAllowed ( MemberInfo m)

◆ IsReturnValueAllowed()

bool ScriptStack.Runtime.IClrPolicy.IsReturnValueAllowed ( object? value)

◆ IsTypeAllowed()

bool ScriptStack.Runtime.IClrPolicy.IsTypeAllowed ( Type t)

The documentation for this interface was generated from the following file: