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
valueEntityUidThe 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
valueValue[]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
valueboolThe 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
valueFrozenDictionary<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
valueDictionary<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
valueImmutableDictionary<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
valueDateTimeOffsetThe 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
valuedecimalThe 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
valuelongThe 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
valueIPAddressThe 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
valuestringThe 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
valueTimeSpanThe time span.