Class ScriptSandbox
Scripts are running using this class as "globals" provider, i.e. any property or method of this class are considered as "native" methods of the script
Inherited Members
Namespace: EyeAuras.Scripting.Api
Assembly: EyeAuras.Scripting.Metadata.dll
Syntax
public class ScriptSandbox : DisposableReactiveObject, IDisposable, INotifyPropertyChanged
Constructors
Name | Description |
---|---|
ScriptSandbox() |
Properties
Name | Description |
---|---|
cancellationToken | A cancellation token used across the Scripting subsystem to manage the cancellation of long-running operations. |
Methods
Name | Description |
---|---|
Sleep(int) | Suspends the execution of the current method for a specified duration. |
Sleep(TimeSpan) | Suspends the execution of the current method for a specified duration. |