Class InteropRegistrationPolicy
Collection of the standard policies to handle UserData type registrations.
Provided mostly for compile-time backward compatibility with old code.
See also :
Inheritance
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class InteropRegistrationPolicy
Properties
Automatic
Types are automatically registered if not found in the registry. This is easier to use but potentially unsafe.
Declaration
public static IRegistrationPolicy Automatic { get; }
Property Value
|
IRegistrationPolicy
|
Default
The default registration policy used by MoonSharp unless explicitely replaced. Deregistrations are allowed, but registration of a new descriptor are not allowed if a descriptor is already registered for that type.
Types must be explicitly registered.
Declaration
public static IRegistrationPolicy Default { get; }
Property Value
|
IRegistrationPolicy
|
Explicit
The default registration policy used by MoonSharp unless explicitely replaced. Deregistrations are allowed, but registration of a new descriptor are not allowed if a descriptor is already registered for that type.
Types must be explicitly registered.
Declaration
public static IRegistrationPolicy Explicit { get; }
Property Value
|
IRegistrationPolicy
|