Class ScanDevice
The representation of a scanning device and its corresponding driver.
public sealed record ScanDevice : IEquatable<ScanDevice>
- Inheritance
-
ScanDevice
- Implements
- Inherited Members
Constructors
ScanDevice(Driver, string, string, string?)
The representation of a scanning device and its corresponding driver.
public ScanDevice(Driver Driver, string ID, string Name, string? IconUri = null)
Parameters
Properties
Driver
public Driver Driver { get; init; }
Property Value
ID
public string ID { get; init; }
Property Value
IconUri
public string? IconUri { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Methods
Equals(ScanDevice?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ScanDevice? other)
Parameters
other
ScanDeviceAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.