Skip to content

Izayoi.Data.TimestampedObjects.UncomparableTimestampedObject

IzayoiJiichan edited this page Feb 1, 2025 · 1 revision

UncomparableTimestampedObject<TValue>

Definition

Namespace Izayoi.Data.TimestampedObjects
Assembly Izayoi.Data.TimestampedObjects.dll

Represents a uncomparable timestamped class that can be assigned uncomparable object.

public class UncomparableTimestampedObject<TValue> :
    IUncomparableTimestampedObject<TValue>

Type Parameters

TValue
The underlying value type of the UncomparableTimestampedObject<TValue> generic type.

Inheritance

Object -> ValueType -> UncomparableTimestampedObject<TValue>

Constructors

Name Summary
UncomparableTimestampedObject<TValue>() Initializes an instance of the UncomparableTimestampedObject<TValue> class.
UncomparableTimestampedObject<TValue>(in long timestamp, in TValue? value) Initializes an instance of the UncomparableTimestampedObject<TValue> class to the specified timestamp and value.
UncomparableTimestampedObject<TValue>(in TValue? value) Initializes an instance of the UncomparableTimestampedObject<TValue> class to the specified value.

Properties

Name Type Summary
Timestamp long Gets Unix timestamp milliseconds.
Value TValue? Gets the value of the current object if it has been assigned a valid underlying value.

Methods

Name Returns Summary
Deconstruct(out long timestamp, out TValue value) void Deconstructs this UncomparableTimestampedObject<TValue> instance by timestamp and value.
Equals(UncomparableTimestampedObject<TValue>? other) bool Indicates whether the current UncomparableTimestampedObject<TValue> object is equal to a specified UncomparableTimestampedObject<TValue>.
Equals(IUncomparableTimestampedObject<TValue>? other) bool Indicates whether the current UncomparableTimestampedObject<TValue> object is equal to a specified IUncomparableTimestampedObject<TValue>.
Equals(object? other) bool Indicates whether the current UncomparableTimestampedObject<TValue> object is equal to a specified object.
GetHashCode() string Returns the hash code for this instance.
ToString() string? Returns the text representation of the value of the current UncomparableTimestampedObject<TValue> object.

Operators

Operator Returns Left Right
== bool UncomparableTimestampedObject<TValue> UncomparableTimestampedObject<TValue>
!= bool UncomparableTimestampedObject<TValue> UncomparableTimestampedObject<TValue>

Examples

Example.UncomparableTimestampedObject

Applies to

Product Versions
.NET 8, 9
.NET Standard 2.0, 2.1
Clone this wiki locally