Class
ScriptState
class ScriptState
Namespace: Raven.CodeAnalysis.Scripting
Assembly: Raven.CodeAnalysis.dll
Source file: ScriptState.cs
Inheritance: Object → ScriptState
Implements: IDisposable
Represents the executed state of a Raven script submission chain.
Properties
4 items
Compilation: Compilation
Gets the compilation for this submission.
HasReturnValue: bool
Gets whether this submission ended with a value-producing expression.
ReturnValue: object?
Gets the value produced by this submission's trailing expression, if any.
Script: Script
Gets the script that produced this state.
Methods
6 items
ContinueWithAsync(code: string, cancellationToken?: CancellationToken) -> Task<ScriptState>
Compiles and executes another submission in this state.
Dispose() -> ()
Releases the execution resources for the entire submission chain.
Implements IDisposable.Dispose
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString