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
EntityUidThe entity reference.
Returns
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
implicit operator Value(bool)
Converts a boolean to a Value type using an implicit operator.
public static implicit operator Value(bool value)
Parameters
value
boolThe boolean.
Returns
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
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
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
Returns
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
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
DateTimeOffsetThe date time offset.
Returns
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
decimalThe decimal.
Returns
implicit operator Value(long)
Converts a long to a Value type using an implicit operator.
public static implicit operator Value(long value)
Parameters
value
longThe long.
Returns
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
IPAddressThe IP address.
Returns
implicit operator Value(string)
Converts a string to a Value type using an implicit operator.
public static implicit operator Value(string value)
Parameters
value
stringThe string.
Returns
implicit operator Value(TimeSpan)
Converts a timespan to a Value type using an implicit operator.
public static implicit operator Value(TimeSpan value)
Parameters
value
TimeSpanThe time span.