Table of Contents

Struct WithTimestamp<TEvent>

Namespace
LfrlAnvil.Reactive.Chrono.Composites
Assembly
LfrlAnvil.Reactive.Chrono.dll

Represents an event with Timestamp.

public readonly struct WithTimestamp<TEvent>

Type Parameters

TEvent

Event type.

Inherited Members

Constructors

WithTimestamp(TEvent, Timestamp)

Creates a new WithTimestamp<TEvent> instance.

public WithTimestamp(TEvent @event, Timestamp timestamp)

Parameters

event TEvent

Underlying event.

timestamp Timestamp

Timestamp associated with this event.

Properties

Event

Underlying event.

public TEvent Event { get; }

Property Value

TEvent

Timestamp

Timestamp associated with this event.

public Timestamp Timestamp { get; }

Property Value

Timestamp

Methods

ToString()

Returns a string representation of this WithTimestamp<TEvent> instance.

[Pure]
public override string ToString()

Returns

string

String representation.