Table of Contents

Class Value

Namespace
CedarDotNet.Values
Assembly
CedarDotNet.dll

The base class for a Cedar value.

[JsonConverter(typeof(ValueJsonConverter))]
public abstract record Value : IEquatable<Value>
Inheritance
Value
Implements
Derived
Inherited Members

Operators

implicit operator Value(EntityUid)

Converts an entity reference to a Value type using an implicit operator.

public static implicit operator Value(EntityUid value)

Parameters

value EntityUid

The entity reference.

Returns

Value

implicit operator Value(Value[])

Converts an array to a Value type using an implicit operator.

public static implicit operator Value(Value[] value)

Parameters

value Value[]

The array.

Returns

Value

implicit operator Value(bool)

Converts a boolean to a Value type using an implicit operator.

public static implicit operator Value(bool value)

Parameters

value bool

The boolean.

Returns

Value

implicit operator Value(FrozenDictionary<string, Value>)

Converts an frozen dictionary to a Value type using an implicit operator.

public static implicit operator Value(FrozenDictionary<string, Value> value)

Parameters

value FrozenDictionary<string, Value>

The dictionary.

Returns

Value

implicit operator Value(Dictionary<string, Value>)

Converts a dictionary to a Value type using an implicit operator.

public static implicit operator Value(Dictionary<string, Value> value)

Parameters

value Dictionary<string, Value>

The dictionary.

Returns

Value

implicit operator Value(List<Value>)

Converts a list to a Value type using an implicit operator.

public static implicit operator Value(List<Value> value)

Parameters

value List<Value>

The list.

Returns

Value

implicit operator Value(ImmutableDictionary<string, Value>)

Converts an immutable dictionary to a Value type using an implicit operator.

public static implicit operator Value(ImmutableDictionary<string, Value> value)

Parameters

value ImmutableDictionary<string, Value>

The dictionary.

Returns

Value

implicit operator Value(DateTimeOffset)

Converts a date time offset to a Value type using an implicit operator.

public static implicit operator Value(DateTimeOffset value)

Parameters

value DateTimeOffset

The date time offset.

Returns

Value

implicit operator Value(decimal)

Converts a decimal offset to a Value type using an implicit operator.

public static implicit operator Value(decimal value)

Parameters

value decimal

The decimal.

Returns

Value

implicit operator Value(long)

Converts a long to a Value type using an implicit operator.

public static implicit operator Value(long value)

Parameters

value long

The long.

Returns

Value

implicit operator Value(IPAddress)

Converts an IP address to a Value type using an implicit operator.

public static implicit operator Value(IPAddress value)

Parameters

value IPAddress

The IP address.

Returns

Value

implicit operator Value(string)

Converts a string to a Value type using an implicit operator.

public static implicit operator Value(string value)

Parameters

value string

The string.

Returns

Value

implicit operator Value(TimeSpan)

Converts a timespan to a Value type using an implicit operator.

public static implicit operator Value(TimeSpan value)

Parameters

value TimeSpan

The time span.

Returns

Value