Table of Contents

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

ShapeShiftValue

Operators

implicit operator ShapeShiftValue(bool)

Creates a Boolean value.

public static implicit operator ShapeShiftValue(bool value)

Parameters

value bool

The represented value.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(byte[])

Creates a binary value.

public static implicit operator ShapeShiftValue(byte[] value)

Parameters

value byte[]

The represented bytes.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(decimal)

Creates a decimal value.

public static implicit operator ShapeShiftValue(decimal value)

Parameters

value decimal

The represented value.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(double)

Creates a floating-point value.

public static implicit operator ShapeShiftValue(double value)

Parameters

value double

The represented value.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(long)

Creates a signed integer value.

public static implicit operator ShapeShiftValue(long value)

Parameters

value long

The represented value.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(string)

Creates a string value.

public static implicit operator ShapeShiftValue(string value)

Parameters

value string

The represented value.

Returns

ShapeShiftValue

The dynamic value.

implicit operator ShapeShiftValue(ulong)

Creates an unsigned integer value.

public static implicit operator ShapeShiftValue(ulong value)

Parameters

value ulong

The represented value.

Returns

ShapeShiftValue

The dynamic value.