Class UnitOfMeasureSystem
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents a system supported unit of measure which cannot be changed.
public abstract class UnitOfMeasureSystem : UnitOfMeasure, IEntity, IComparable, IIdentifiable
- Inheritance
-
UnitOfMeasureSystem
- Implements
- Derived
- Inherited Members
Constructors
UnitOfMeasureSystem(Id, string)
Initializes a new instance of the UnitOfMeasureSystem class. Initializes a new instance of the UnitOfMeasure class.
protected UnitOfMeasureSystem(Id id, string name)
Parameters
Properties
Id
Gets or sets the entity identifier.
public override Id? Id { get; set; }
Property Value
Name
Gets or sets the entity name.
public override string? Name { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
public override int GetHashCode()
Returns
IsSystemEntity()
Denotes whether an instance is user created or system supported.
public override bool IsSystemEntity()
Returns
- bool
true for all system units of measurement.