Class TimerDue
- Namespace
- Stratara.Abstractions.Timers
- Assembly
- Stratara.Abstractions.dll
A timer that has fired: the registration and the moment it fired.
public sealed record TimerDue : IEquatable<TimerDue>
- Inheritance
-
TimerDue
- Implements
- Inherited Members
- Extension Methods
Constructors
TimerDue(string, string, DateTimeOffset, DateTimeOffset)
A timer that has fired: the registration and the moment it fired.
public TimerDue(string OwnerId, string Purpose, DateTimeOffset DueAt, DateTimeOffset FiredAt)
Parameters
OwnerIdstringThe owner, confirmed to exist at the time of firing.
PurposestringWhat the timer is for.
DueAtDateTimeOffsetWhen it was due.
FiredAtDateTimeOffsetWhen it fired; never before
DueAt.
Properties
DueAt
When it was due.
public DateTimeOffset DueAt { get; init; }
Property Value
FiredAt
When it fired; never before DueAt.
public DateTimeOffset FiredAt { get; init; }
Property Value
OwnerId
The owner, confirmed to exist at the time of firing.
public string OwnerId { get; init; }
Property Value
Purpose
What the timer is for.
public string Purpose { get; init; }