Class ShapeShiftValue
- Namespace
- ShapeShift
- Assembly
- ShapeShift.dll
Represents a value in the format-neutral ShapeShift data model.
[GenerateShape]
public abstract record ShapeShiftValue : IShapeable<ShapeShiftValue>, IEquatable<ShapeShiftValue>
- Inheritance
-
ShapeShiftValue
- Implements
-
IShapeable<ShapeShiftValue>
- Derived
- Inherited Members
Properties
Null
Gets the singleton null value.
public static ShapeShiftValue Null { get; }
Property Value
Operators
implicit operator ShapeShiftValue(bool)
Creates a Boolean value.
public static implicit operator ShapeShiftValue(bool value)
Parameters
valueboolThe represented value.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(byte[])
Creates a binary value.
public static implicit operator ShapeShiftValue(byte[] value)
Parameters
valuebyte[]The represented bytes.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(decimal)
Creates a decimal value.
public static implicit operator ShapeShiftValue(decimal value)
Parameters
valuedecimalThe represented value.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(double)
Creates a floating-point value.
public static implicit operator ShapeShiftValue(double value)
Parameters
valuedoubleThe represented value.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(long)
Creates a signed integer value.
public static implicit operator ShapeShiftValue(long value)
Parameters
valuelongThe represented value.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(string)
Creates a string value.
public static implicit operator ShapeShiftValue(string value)
Parameters
valuestringThe represented value.
Returns
- ShapeShiftValue
The dynamic value.
implicit operator ShapeShiftValue(ulong)
Creates an unsigned integer value.
public static implicit operator ShapeShiftValue(ulong value)
Parameters
valueulongThe represented value.
Returns
- ShapeShiftValue
The dynamic value.