Skip to content

Class SandboxValueValidator

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

public static class SandboxValueValidator

objectSandboxValueValidator

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

RequireType(SandboxValue, SandboxType, string)

Section titled “ RequireType(SandboxValue, SandboxType, string)”
public static void RequireType(SandboxValue value, SandboxType expectedType, string message)

value SandboxValue

expectedType SandboxType

message string

RequireType(SandboxValue, SandboxType, SandboxErrorCode, string)

Section titled “ RequireType(SandboxValue, SandboxType, SandboxErrorCode, string)”
public static void RequireType(SandboxValue value, SandboxType expectedType, SandboxErrorCode errorCode, string message)

value SandboxValue

expectedType SandboxType

errorCode SandboxErrorCode

message string