Class ScriptCaller¶
Namespace: Apogee.Reflection
Assembly: Apogee.Reflection.dll
Which script is calling the engine right now, on this thread: the scripting layer sets it around every method a script calls, so that an engine class that does work for the script (the UI loading a document that has scripts of its own) can run that work as the same owner, under the same limits. Null outside a call from a script.
public static class ScriptCaller
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
Current¶
The caller as the scripting layer identifies it (an opaque object to everyone else).
public static object? Current { get; }
Property Value¶
Methods¶
Enter(object?)¶
public static ScriptCaller.Restore Enter(object? caller)
Parameters¶
caller object?