Table of Contents

Class SandboxValue

Namespace
DotBoxD.Kernels.Sandbox
Assembly
DotBoxD.Kernels.dll
public abstract record SandboxValue : IEquatable<SandboxValue>
Inheritance
SandboxValue
Implements
Derived
Inherited Members

Properties

Type

public abstract SandboxType Type { get; }

Property Value

SandboxType

Unit

public static SandboxValue Unit { get; }

Property Value

SandboxValue

Methods

FromBool(bool)

public static SandboxValue FromBool(bool value)

Parameters

value bool

Returns

SandboxValue

FromDouble(double)

public static SandboxValue FromDouble(double value)

Parameters

value double

Returns

SandboxValue

FromGuid(Guid)

public static SandboxValue FromGuid(Guid value)

Parameters

value Guid

Returns

SandboxValue

FromInt32(int)

public static SandboxValue FromInt32(int value)

Parameters

value int

Returns

SandboxValue

FromInt64(long)

public static SandboxValue FromInt64(long value)

Parameters

value long

Returns

SandboxValue

FromList(IReadOnlyList<SandboxValue>)

public static SandboxValue FromList(IReadOnlyList<SandboxValue> values)

Parameters

values IReadOnlyList<SandboxValue>

Returns

SandboxValue

FromList(IReadOnlyList<SandboxValue>, SandboxType)

public static SandboxValue FromList(IReadOnlyList<SandboxValue> values, SandboxType itemType)

Parameters

values IReadOnlyList<SandboxValue>
itemType SandboxType

Returns

SandboxValue

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

public static SandboxValue FromMap(IReadOnlyDictionary<SandboxValue, SandboxValue> values, SandboxType keyType, SandboxType valueType)

Parameters

values IReadOnlyDictionary<SandboxValue, SandboxValue>
keyType SandboxType
valueType SandboxType

Returns

SandboxValue

FromOpaqueId(string, string)

public static SandboxValue FromOpaqueId(string typeName, string value)

Parameters

typeName string
value string

Returns

SandboxValue

FromPath(string)

public static SandboxValue FromPath(string value)

Parameters

value string

Returns

SandboxValue

FromRecord(IReadOnlyList<SandboxValue>)

public static SandboxValue FromRecord(IReadOnlyList<SandboxValue> fields)

Parameters

fields IReadOnlyList<SandboxValue>

Returns

SandboxValue

FromString(string)

public static SandboxValue FromString(string value)

Parameters

value string

Returns

SandboxValue

FromUri(string)

public static SandboxValue FromUri(string value)

Parameters

value string

Returns

SandboxValue