Table of Contents

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 string

The label of the window.

Sequence int

The sequence of the window.

Duration TimeSpan?

The duration of the window.

Color Color

The color of the window.

Properties

Color

Gets or sets the color indicating this time window.

public Color Color { get; set; }

Property Value

Color

Color

Duration

Gets or sets the duration of the window.

public TimeSpan? Duration { get; set; }

Property Value

TimeSpan?

TimeSpan

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Label

Gets or sets the description of the window.

public string Label { get; set; }

Property Value

string

string

Sequence

Gets or sets the time window sequence.

public int Sequence { get; set; }

Property Value

int

int

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

Label string
Sequence int
Duration TimeSpan?
Color Color

Equals(LiveCompletionTimeWindow?)

public virtual bool Equals(LiveCompletionTimeWindow? other)

Parameters

other LiveCompletionTimeWindow

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)

public static bool operator ==(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)

Parameters

left LiveCompletionTimeWindow
right LiveCompletionTimeWindow

Returns

bool

operator !=(LiveCompletionTimeWindow?, LiveCompletionTimeWindow?)

public static bool operator !=(LiveCompletionTimeWindow? left, LiveCompletionTimeWindow? right)

Parameters

left LiveCompletionTimeWindow
right LiveCompletionTimeWindow

Returns

bool