Table of Contents

Class TimerMetadata<TDigitalTwin>

Namespace
Scaleout.Modules.DigitalTwin.Abstractions
Assembly
Scaleout.Modules.DigitalTwin.Abstractions.dll

Used by the DigitalTwinBase<TDigitalTwin> class to store information about a timer associated with a Digital Twin instance.

public sealed class TimerMetadata<TDigitalTwin> where TDigitalTwin : DigitalTwinBase<TDigitalTwin>

Type Parameters

TDigitalTwin
Inheritance
TimerMetadata<TDigitalTwin>
Inherited Members

Properties

Id

The timer Id.

public int Id { get; set; }

Property Value

int

Interval

The timer interval.

public TimeSpan Interval { get; set; }

Property Value

TimeSpan

TimerHandler

The timer handler. Only assign a public static method or a class instance method to this property.

public TimerAsyncHandler<TDigitalTwin> TimerHandler { get; set; }

Property Value

TimerAsyncHandler<TDigitalTwin>

Type

The timer type.

public TimerType Type { get; set; }

Property Value

TimerType