Table of Contents

Class VBSingleValue

Namespace
RDCore.SDK.Model.Values.Intrinsic
Assembly
RDCore.SDK.dll

Represents a Single numeric value.

public sealed record VBSingleValue : VBNumericTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBSingleValue, float>, IEquatable<IVBTypedValue<VBSingleValue, float>>, INumericValue<VBSingleValue>, INumericValue, IEquatable<VBSingleValue>
Inheritance
VBSingleValue
Implements
Inherited Members

Constructors

VBSingleValue(IBindingHandle)

public VBSingleValue(IBindingHandle handle)

Parameters

handle IBindingHandle

VBSingleValue(float)

public VBSingleValue(float value)

Parameters

value float

Properties

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Value

Gets the underlying managed value corresponding to this typed value.

public float Value { get; }

Property Value

float

Methods

Equals(IVBTypedValue<VBSingleValue, float>?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IVBTypedValue<VBSingleValue, float>? other)

Parameters

other IVBTypedValue<VBSingleValue, float>

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.