Table of Contents

Class SandboxFunction

Namespace
DotBoxD.Kernels
Assembly
DotBoxD.Kernels.dll
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

Id string
IsEntrypoint bool
Parameters IReadOnlyList<Parameter>
ReturnType SandboxType
Body IReadOnlyList<Statement>
DeclaredEffects SandboxEffect?

Properties

Body

public IReadOnlyList<Statement> Body { get; init; }

Property Value

IReadOnlyList<Statement>

DeclaredEffects

public SandboxEffect? DeclaredEffects { get; init; }

Property Value

SandboxEffect?

Id

public string Id { get; init; }

Property Value

string

IsEntrypoint

public bool IsEntrypoint { get; init; }

Property Value

bool

Parameters

public IReadOnlyList<Parameter> Parameters { get; init; }

Property Value

IReadOnlyList<Parameter>

ReturnType

public SandboxType ReturnType { get; init; }

Property Value

SandboxType