Class Source
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The source is the underlying producer of the engine data.
[ReportClass]
public abstract class Source : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
Source
- Implements
- Derived
- Inherited Members
Constructors
Source()
Initializes a new instance of the Source class.
protected Source()
Source(Id, string)
Initializes a new instance of the Source class.
protected Source(Id id, string name)
Parameters
Properties
Id
Gets or sets the unique identifier for this entity.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.SourceId })]
public override Id? Id { get; set; }
Property Value
Name
Gets or sets the name of this entity which identifies it and is used when displaying this entity.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.SourceName })]
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()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()
Returns
SystemFromId(Id?)
Returns a system Source from the provided system Id else null if it's not a system Source.
public static Source? SystemFromId(Id? id)
Parameters
id
IdThe id.