class
ScriptScriptCode
Interop class between C++
& CLR for ScriptCode.
Public
Constructors
ScriptScriptCode
Methods
staticGetAssemblyName
staticGetNamespace
staticGetTypeName
GetNativeObject
Retrieves the underlying native object cast to the correct type.
staticSetupScriptBindings
staticCreateScriptObject
GetNativeObjectAsHandle
Returns the wrapped native object as a handle.
GetNativeObjectReferenceCount
GetOrCreateResourceReference
Returns a resource reference script object, that is wrapping the provided resource.
ShouldPersistScriptReload
GetLifetimeTrackingMode
staticCreateScriptObjectAndWrapper
Creates a new script object and a script object wrapper of , and associates them with the provided native object.
Should not be called if already has an associated script object.
staticGetScriptExportable
Casts the reflectable object to script exportable.
staticGetOrCreateScriptObject
Attempts to retrieve an existing associated script object from the provided native object.
If one doesn't exist, a new script object and the associated script wrapper will be created.
~TScriptObjectWrapper<SelfType, BaseType>
RecreateScriptObjectAfterScriptReload
staticGetScriptObjectWrapper
Returns the script object wrapper associated with the provided script object.
staticGetMetaData
Returns the meta-data storing information about the script type.
staticInitializeMetaDataAtLoadTime
Takes care of initializing the meta-data when the application first load.
The meta-data will be registered with a global manager that will ensure it is kept up-to-date after operations such as assembly (re)load.
Protected
Methods
staticInitializeAdditionalMetaData
Initialize RTTI type ID and callback used to create the script object/script object wrapper.
BindToScriptObject
Stores a pointer to itself in the script object.
This ensures that calls to GetScriptObjectWrapper() can return the script object wrapper associated with the script object.
Private
Methods
staticParseTypes
Parses the provided C# code and finds a list of all classes and their namespaces.
Nested classes are ignored.
staticInternalCreateInstance
*********************************************************************