Class TimerRegistration
- Namespace
- Stratara.Abstractions.Timers
- Assembly
- Stratara.Abstractions.dll
A timer to register: who it belongs to, what it is for, and when it is due.
public sealed record TimerRegistration : IEquatable<TimerRegistration>
- Inheritance
-
TimerRegistration
- Implements
- Inherited Members
- Extension Methods
Constructors
TimerRegistration(string, string, DateTimeOffset)
A timer to register: who it belongs to, what it is for, and when it is due.
public TimerRegistration(string OwnerId, string Purpose, DateTimeOffset DueAt)
Parameters
OwnerIdstringThe owner the timer is checked against when it fires.
PurposestringWhat the timer is for; unique per owner. Must not contain
@.DueAtDateTimeOffsetWhen the timer fires.
Properties
DueAt
When the timer fires.
public DateTimeOffset DueAt { get; init; }
Property Value
OwnerId
The owner the timer is checked against when it fires.
public string OwnerId { get; init; }
Property Value
Purpose
What the timer is for; unique per owner. Must not contain @.
public string Purpose { get; init; }