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
- eventTEvent
- Underlying event. 
- dateTimeZonedDateTime
- ZonedDateTime associated with this event. 
Properties
DateTime
ZonedDateTime associated with this event.
public ZonedDateTime DateTime { get; }Property Value
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.