Skip to main content

BusySnapshotSimple

Namespace: Busy.Bar

A single fixed-duration BUSY timer is running.

public sealed record class BusySnapshotSimple : BusySnapshotState, System.IEquatable`1[[Busy.Bar.BusySnapshotState, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[Busy.Bar.BusySnapshotSimple, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectBusySnapshotState → BusySnapshotSimple
Implements IEquatable<BusySnapshotState>, IEquatable<BusySnapshotSimple>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute

Properties

CardId

Identifier of the card/profile the running timer was started from.

public required string CardId { get; init; }

Property Value

String

TimeLeftMs

Time remaining on the timer, in milliseconds.

public required long TimeLeftMs { get; init; }

Property Value

Int64

IsPaused

Whether the timer is currently paused.

public required bool IsPaused { get; init; }

Property Value

Boolean

BusyBarSettings

Presentation settings in effect for this snapshot, if the timer has been started.

public BusyBarSettings? BusyBarSettings { get; init; }

Property Value

BusyBarSettings

Constructors

BusySnapshotSimple()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public BusySnapshotSimple()