Table of Contents

Struct WithZonedDateTime<TEvent>

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

Represents an event with DateTime.

public readonly struct WithZonedDateTime<TEvent>

Type Parameters

TEvent

Event type.

Inherited Members

Constructors

WithZonedDateTime(TEvent, ZonedDateTime)

Creates a new WithZonedDateTime<TEvent> instance.

public WithZonedDateTime(TEvent @event, ZonedDateTime dateTime)

Parameters

event TEvent

Underlying event.

dateTime ZonedDateTime

ZonedDateTime associated with this event.

Properties

DateTime

ZonedDateTime associated with this event.

public ZonedDateTime DateTime { get; }

Property Value

ZonedDateTime

Event

Underlying event.

public TEvent Event { get; }

Property Value

TEvent

Methods

ToString()

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

[Pure]
public override string ToString()

Returns

string

String representation.