Class BSONSimpleValue
Represents simple value (like float, double, int, string etc).
Inheritance
System.Object
BSONSimpleValue
Assembly: Eco.Shared.dll
Syntax
public class BSONSimpleValue : BSONValue<BSONSimpleValue>, IEquatable<BSONValue>
Properties
BinaryValue
Declaration
public override byte[] BinaryValue { get; }
Property Value
| Type |
Description |
| System.Byte[] |
|
Overrides
BlobID
Declaration
public override int BlobID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
BoolValue
Declaration
public override bool BoolValue { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
ByteSpanValue
Declaration
public override ReadOnlySpan<byte> ByteSpanValue { get; }
Property Value
| Type |
Description |
| System.ReadOnlySpan<System.Byte> |
|
Overrides
ByteValue
Declaration
public override byte ByteValue { get; }
Property Value
| Type |
Description |
| System.Byte |
|
Overrides
ColorValue
Declaration
public override Color ColorValue { get; }
Property Value
Overrides
DateTimeValue
Declaration
public override DateTime DateTimeValue { get; }
Property Value
| Type |
Description |
| System.DateTime |
|
Overrides
DoubleValue
Declaration
public override double DoubleValue { get; }
Property Value
| Type |
Description |
| System.Double |
|
Overrides
FloatValue
Declaration
public override float FloatValue { get; }
Property Value
| Type |
Description |
| System.Single |
|
Overrides
GuidValue
Declaration
public override Guid GuidValue { get; }
Property Value
| Type |
Description |
| System.Guid |
|
Overrides
Int32Value
Declaration
public override int Int32Value { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
Int64Value
Declaration
public override long Int64Value { get; }
Property Value
| Type |
Description |
| System.Int64 |
|
Overrides
IntArrayValue
Declaration
public override int[] IntArrayValue { get; }
Property Value
| Type |
Description |
| System.Int32[] |
|
Overrides
IntSpanValue
Declaration
public override ReadOnlySpan<int> IntSpanValue { get; }
Property Value
| Type |
Description |
| System.ReadOnlySpan<System.Int32> |
|
Overrides
LocStringValue
Declaration
public override LocString LocStringValue { get; }
Property Value
Overrides
ObjectValue
Declaration
public override BSONObject ObjectValue { get; }
Property Value
Overrides
QuaternionValue
Declaration
public override Quaternion QuaternionValue { get; }
Property Value
Overrides
StringValue
Declaration
public override string StringValue { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
UInt64Value
Declaration
public override ulong UInt64Value { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
Overrides
UShortArrayValue
Declaration
public override ushort[] UShortArrayValue { get; }
Property Value
| Type |
Description |
| System.UInt16[] |
|
Overrides
UShortSpanValue
Declaration
public override ReadOnlySpan<ushort> UShortSpanValue { get; }
Property Value
| Type |
Description |
| System.ReadOnlySpan<System.UInt16> |
|
Overrides
Vector2iValue
Declaration
public override Vector2i Vector2iValue { get; }
Property Value
Overrides
Vector2Value
Declaration
public override Vector2 Vector2Value { get; }
Property Value
Overrides
Vector3iValue
Declaration
public override Vector3i Vector3iValue { get; }
Property Value
Overrides
Vector3iValueNullable
Declaration
public override Nullable<Vector3i> Vector3iValueNullable { get; }
Property Value
| Type |
Description |
| System.Nullable<Vector3i> |
|
Overrides
Vector3Value
Declaration
public override Vector3 Vector3Value { get; }
Property Value
| Type |
Description |
| System.Numerics.Vector3 |
|
Overrides
ViewID
Declaration
public override int ViewID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
ViewTypeID
Declaration
public override int ViewTypeID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
Methods
New()
Declaration
public static BSONSimpleValue New()
Returns
New(BSONValueType)
Declaration
public static BSONSimpleValue New(BSONValueType valueType)
Parameters
Returns
Releases all resources (nullify refs for GC and return pooled objects).
Declaration
protected override bool TryPerformRecycle()
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Eco.Shared.Serialization.BSONValue<Eco.Shared.Serialization.BSONSimpleValue>.TryPerformRecycle()
Implements
System.IEquatable<>
Extension Methods