BusyTimerIntervalSettings
Namespace: Busy.Bar
A timer that alternates between work and rest periods for a fixed number of cycles.
public sealed record class BusyTimerIntervalSettings : BusyTimerSettings, System.IEquatable`1[[Busy.Bar.BusyTimerSettings, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[Busy.Bar.BusyTimerIntervalSettings, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → BusyTimerSettings → BusyTimerIntervalSettings
Implements IEquatable<BusyTimerSettings>, IEquatable<BusyTimerIntervalSettings>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute
Properties
IntervalWorkMs
Duration of each work period, in milliseconds.
public required long IntervalWorkMs { get; init; }
Property Value
IntervalRestMs
Duration of each rest period, in milliseconds.
public required long IntervalRestMs { get; init; }
Property Value
IntervalWorkCyclesCount
Number of work/rest cycles to run.
public required int IntervalWorkCyclesCount { get; init; }
Property Value
IsAutostartEnabled
Whether the next cycle starts automatically once the current one finishes.
public required bool IsAutostartEnabled { get; init; }
Property Value
Constructors
BusyTimerIntervalSettings()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public BusyTimerIntervalSettings()