ScriptStack 1.0.5
Loading...
Searching...
No Matches
ScriptStack.Runtime.AllowAllClrPolicy Class Referencesealed

Allows all CLR interop. Use only for trusted scripts. More...

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

Public Member Functions

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

Detailed Description

Allows all CLR interop. Use only for trusted scripts.

Definition at line 21 of file ClrPolicies.cs.

Member Function Documentation

◆ IsCallAllowed()

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

◆ IsMemberAllowed()

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

◆ IsReturnValueAllowed()

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

◆ IsTypeAllowed()

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

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