Skip to content

Class SandboxValue

Namespace: DotBoxD.Kernels.Sandbox
Assembly: DotBoxD.Kernels.dll

public abstract record SandboxValue : IEquatable<SandboxValue>

objectSandboxValue

BoolValue, F64Value, GuidValue, I32Value, I64Value, ListValue, MapValue, OpaqueIdValue, RecordValue, SandboxPathValue, SandboxUriValue, StringValue, UnitValue

IEquatable<SandboxValue>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

public abstract SandboxType Type { get; }

SandboxType

public static SandboxValue Unit { get; }

SandboxValue

public static SandboxValue FromBool(bool value)

value bool

SandboxValue

public static SandboxValue FromDouble(double value)

value double

SandboxValue

public static SandboxValue FromGuid(Guid value)

value Guid

SandboxValue

public static SandboxValue FromInt32(int value)

value int

SandboxValue

public static SandboxValue FromInt64(long value)

value long

SandboxValue

public static SandboxValue FromList(IReadOnlyList<SandboxValue> values)

values IReadOnlyList<SandboxValue>

SandboxValue

FromList(IReadOnlyList<SandboxValue>, SandboxType)

Section titled “ FromList(IReadOnlyList<SandboxValue>, SandboxType)”
public static SandboxValue FromList(IReadOnlyList<SandboxValue> values, SandboxType itemType)

values IReadOnlyList<SandboxValue>

itemType SandboxType

SandboxValue

FromMap(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)

Section titled “ FromMap(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)”
public static SandboxValue FromMap(IReadOnlyDictionary<SandboxValue, SandboxValue> values, SandboxType keyType, SandboxType valueType)

values IReadOnlyDictionary<SandboxValue, SandboxValue>

keyType SandboxType

valueType SandboxType

SandboxValue

public static SandboxValue FromOpaqueId(string typeName, string value)

typeName string

value string

SandboxValue

public static SandboxValue FromPath(string value)

value string

SandboxValue

public static SandboxValue FromRecord(IReadOnlyList<SandboxValue> fields)

fields IReadOnlyList<SandboxValue>

SandboxValue

public static SandboxValue FromString(string value)

value string

SandboxValue

public static SandboxValue FromUri(string value)

value string

SandboxValue