Skip to main content
Table of Contents

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

OwnerId string

The owner the timer is checked against when it fires.

Purpose string

What the timer is for; unique per owner. Must not contain @.

DueAt DateTimeOffset

When the timer fires.

Properties

DueAt

When the timer fires.

public DateTimeOffset DueAt { get; init; }

Property Value

DateTimeOffset

OwnerId

The owner the timer is checked against when it fires.

public string OwnerId { get; init; }

Property Value

string

Purpose

What the timer is for; unique per owner. Must not contain @.

public string Purpose { get; init; }

Property Value

string