Class FlagDuration
Instance of a flag state during a session.
Assembly: RedMist.TimingCommon.dll
Syntax
[MessagePackObject(false)]
public class FlagDuration
Constructors
View Source
FlagDuration()
Declaration
Properties
View Source
EndTime
When the flag state ended, or null if it is still active.
Declaration
[JsonPropertyName("e")]
[Key(2)]
public DateTime? EndTime { get; set; }
Property Value
View Source
Flag
The flag that is or was active.
Declaration
[JsonPropertyName("f")]
[Key(0)]
public Flags Flag { get; set; }
Property Value
View Source
StartTime
When the flag state started.
Declaration
[JsonPropertyName("s")]
[Key(1)]
public DateTime StartTime { get; set; }
Property Value
Methods
View Source
Equals(FlagDuration)
Declaration
public bool Equals(FlagDuration other)
Parameters
Returns
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides