Class DeviceId
The identifier of a single IDevice.
public sealed class DeviceId : IDeviceId, IEquatable<DeviceId>, IEquatable<IDeviceId>
- Inheritance
-
DeviceId
- Implements
- Inherited Members
Properties
Id
public string Id { get; }
Property Value
- string
The ID of the device.
Methods
Equals(DeviceId?)
Compares two IDs to verify whether or not they point at the same device.
public bool Equals(DeviceId? other)
Parameters
Returns
- bool
true
if the two IDs point at the same device.
Equals(IDeviceId)
public bool Equals(IDeviceId other)
Parameters
other
IDeviceId
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 ==(DeviceId, DeviceId)
public static bool operator ==(DeviceId a, DeviceId b)
Parameters
Returns
operator !=(DeviceId, DeviceId)
public static bool operator !=(DeviceId a, DeviceId b)