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
DeviceCommunicationStatusStateCount
intThe number of devices in the specified state.
Properties
Count
The number of devices in the specified state.
public int Count { get; init; }
Property Value
State
public DeviceCommunicationStatusState State { get; init; }
Property Value
Methods
Deconstruct(out DeviceCommunicationStatusState, out int)
public void Deconstruct(out DeviceCommunicationStatusState State, out int Count)
Parameters
State
DeviceCommunicationStatusStateCount
int
Equals(DeviceCommunicationStatusCount?)
public bool Equals(DeviceCommunicationStatusCount? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(DeviceCommunicationStatusCount?, DeviceCommunicationStatusCount?)
public static bool operator ==(DeviceCommunicationStatusCount? left, DeviceCommunicationStatusCount? right)
Parameters
Returns
operator !=(DeviceCommunicationStatusCount?, DeviceCommunicationStatusCount?)
public static bool operator !=(DeviceCommunicationStatusCount? left, DeviceCommunicationStatusCount? right)