Class SandboxFunction
public sealed record SandboxFunction : IEquatable<SandboxFunction>
- Inheritance
-
SandboxFunction
- Implements
- Inherited Members
Constructors
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
IdstringIsEntrypointboolParametersIReadOnlyList<Parameter>ReturnTypeSandboxTypeBodyIReadOnlyList<Statement>DeclaredEffectsSandboxEffect?
Properties
Body
public IReadOnlyList<Statement> Body { get; init; }
Property Value
DeclaredEffects
public SandboxEffect? DeclaredEffects { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
IsEntrypoint
public bool IsEntrypoint { get; init; }
Property Value
Parameters
public IReadOnlyList<Parameter> Parameters { get; init; }
Property Value
ReturnType
public SandboxType ReturnType { get; init; }