<PackageReference Include="ReactiveUI.Primitives.Core" Version="7.3.0" />

ReactiveUI.Primitives.Core.Moment<T>

public struct Moment<T> : IEquatable<Moment<T>>
Represents a value captured at a scheduler timestamp.
public DateTimeOffset Timestamp { get; }

Gets the scheduler timestamp.

public T Value { get; }

Gets the captured value.

public Moment(T value, DateTimeOffset timestamp)

Initializes a new instance of the Moment<T> struct.

public static bool op_Equality(Moment<T> first, Moment<T> second)

Compares two timestamped values for equality.

public static bool op_Inequality(Moment<T> first, Moment<T> second)

Compares two timestamped values for inequality.

public bool Equals(Moment<T> other)