Table of Contents

Class DeviceCommunicationStatusCount

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents a record that holds the count of devices for a specific communication status.

public sealed record DeviceCommunicationStatusCount : IEquatable<DeviceCommunicationStatusCount>
Inheritance
DeviceCommunicationStatusCount
Implements
Inherited Members

Constructors

DeviceCommunicationStatusCount(DeviceCommunicationStatusState, int)

Represents a record that holds the count of devices for a specific communication status.

public DeviceCommunicationStatusCount(DeviceCommunicationStatusState State, int Count)

Parameters

State DeviceCommunicationStatusState

The DeviceCommunicationStatusState.

Count int

The number of devices in the specified state.

Properties

Count

The number of devices in the specified state.

public int Count { get; init; }

Property Value

int

State

public DeviceCommunicationStatusState State { get; init; }

Property Value

DeviceCommunicationStatusState

Methods

Deconstruct(out DeviceCommunicationStatusState, out int)

public void Deconstruct(out DeviceCommunicationStatusState State, out int Count)

Parameters

State DeviceCommunicationStatusState
Count int

Equals(DeviceCommunicationStatusCount?)

public bool Equals(DeviceCommunicationStatusCount? other)

Parameters

other DeviceCommunicationStatusCount

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(DeviceCommunicationStatusCount?, DeviceCommunicationStatusCount?)

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

Parameters

left DeviceCommunicationStatusCount
right DeviceCommunicationStatusCount

Returns

bool

operator !=(DeviceCommunicationStatusCount?, DeviceCommunicationStatusCount?)

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

Parameters

left DeviceCommunicationStatusCount
right DeviceCommunicationStatusCount

Returns

bool