Class LiveCompletionTimeWindow
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a single time window withing in a LiveCompletionMapConfig.
public record LiveCompletionTimeWindow : IEquatable<LiveCompletionTimeWindow>
- Inheritance
-
LiveCompletionTimeWindow
- Implements
- Inherited Members
Constructors
LiveCompletionTimeWindow(LiveCompletionTimeWindow)
protected LiveCompletionTimeWindow(LiveCompletionTimeWindow original)
Parameters
originalLiveCompletionTimeWindow
LiveCompletionTimeWindow(string, int, TimeSpan?, Color)
Represents a single time window withing in a LiveCompletionMapConfig.
public LiveCompletionTimeWindow(string Label, int Sequence, TimeSpan? Duration, Color Color)
Parameters
LabelstringThe label of the window.
SequenceintThe sequence of the window.
DurationTimeSpan?The duration of the window.
ColorColorThe color of the window.
Properties
Color
Gets or sets the color indicating this time window.
public Color Color { get; set; }
Property Value
Duration
Gets or sets the duration of the window.
public TimeSpan? Duration { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Label
Gets or sets the description of the window.
public string Label { get; set; }
Property Value
Sequence
Gets or sets the time window sequence.
public int Sequence { get; set; }
Property Value
Methods
Deconstruct(out string, out int, out TimeSpan?, out Color)
public void Deconstruct(out string Label, out int Sequence, out TimeSpan? Duration, out Color Color)
Parameters
Equals(LiveCompletionTimeWindow?)
public virtual bool Equals(LiveCompletionTimeWindow? other)
Parameters
otherLiveCompletionTimeWindow
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)
public static bool operator ==(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)
Parameters
leftLiveCompletionTimeWindowrightLiveCompletionTimeWindow
Returns
operator !=(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)
public static bool operator !=(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)
Parameters
leftLiveCompletionTimeWindowrightLiveCompletionTimeWindow