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
original
LiveCompletionTimeWindow
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
Label
stringThe label of the window.
Sequence
intThe sequence of the window.
Duration
TimeSpan?The duration of the window.
Color
ColorThe 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
other
LiveCompletionTimeWindow
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)
public static bool operator ==(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)
Parameters
left
LiveCompletionTimeWindowright
LiveCompletionTimeWindow
Returns
operator !=(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)
public static bool operator !=(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)
Parameters
left
LiveCompletionTimeWindowright
LiveCompletionTimeWindow