Synced
ScriptingApiExportAttribute.Constructor
Section titled “ScriptingApiExportAttribute.Constructor”
- Creates an explicit script API export with a script-facing type name.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scripting.Api
Declaration
Section titled “Declaration”public Inno.Scripting.Api.ScriptingApiExportAttribute.ScriptingApiExportAttribute(System.Type type, string name, Inno.Scripting.Api.ScriptingApiScope scope)Parameters
Section titled “Parameters”Parameter type: The runtime type exposed to scripts.
Parameter name: The type name presented by the script facade.
Parameter scope: The script profile that receives the type.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when type is null.
Exception T:System.ArgumentException: Thrown when name is empty.