Class SandboxFunction
Namespace: DotBoxD.Kernels
Assembly: DotBoxD.Kernels.dll
public sealed record SandboxFunction : IEquatable<SandboxFunction>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”SandboxFunction(string, bool, IReadOnlyList<Parameter>, SandboxType, IReadOnlyList<Statement>, SandboxEffect?)
Section titled “ SandboxFunction(string, bool, IReadOnlyList<Parameter>, SandboxType, IReadOnlyList<Statement>, SandboxEffect?)”public SandboxFunction(string Id, bool IsEntrypoint, IReadOnlyList<Parameter> Parameters, SandboxType ReturnType, IReadOnlyList<Statement> Body, SandboxEffect? DeclaredEffects = null)Parameters
Section titled “Parameters”Id string
IsEntrypoint bool
Parameters IReadOnlyList<Parameter>
ReturnType SandboxType
Body IReadOnlyList<Statement>
DeclaredEffects SandboxEffect?
Properties
Section titled “Properties”public IReadOnlyList<Statement> Body { get; init; }Property Value
Section titled “Property Value”DeclaredEffects
Section titled “ DeclaredEffects”public SandboxEffect? DeclaredEffects { get; init; }Property Value
Section titled “Property Value”public string Id { get; init; }Property Value
Section titled “Property Value”IsEntrypoint
Section titled “ IsEntrypoint”public bool IsEntrypoint { get; init; }Property Value
Section titled “Property Value”Parameters
Section titled “ Parameters”public IReadOnlyList<Parameter> Parameters { get; init; }Property Value
Section titled “Property Value”ReturnType
Section titled “ ReturnType”public SandboxType ReturnType { get; init; }