Class RuleMonitor
- Namespace
- Geotab.Checkmate.ObjectModel.Exceptions
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class RuleMonitor : Entity, IEntity, IComparable, IIdentifiable, IDiagnosticProvider
- Inheritance
-
RuleMonitor
- Implements
- Inherited Members
Constructors
RuleMonitor()
Initializes a new instance of the RuleMonitor class.
public RuleMonitor()
RuleMonitor(Id?, Rule, MonitorPredicate?, RuleMonitorType?, Diagnostic)
Initializes a new instance of the RuleMonitor class.
public RuleMonitor(Id? id, Rule rule, MonitorPredicate? monitorPredicate, RuleMonitorType? monitorType, Diagnostic diagnostic)
Parameters
id
IdThe id.
rule
RuleThe rule.
monitorPredicate
MonitorPredicate?The monitorPredicate.
monitorType
RuleMonitorType?The monitorType.
diagnostic
DiagnosticThe diagnostic.
Properties
Diagnostic
Gets or sets Diagnostic
public Diagnostic Diagnostic { get; set; }
Property Value
EquivalencyComparer
Gets an equality comparer based on Diagnostic, MonitorPredicate, and MonitorType.
public static IEqualityComparer<RuleMonitor> EquivalencyComparer { get; }
Property Value
MonitorPredicate
Gets or sets MonitorPredicate
public MonitorPredicate? MonitorPredicate { get; set; }
Property Value
MonitorType
Gets or sets RuleMonitorType
public RuleMonitorType? MonitorType { get; set; }
Property Value
Rule
Gets or sets Rule
public Rule Rule { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
IsInRangeMonitorPredicate(MonitorPredicate)
Checks whether or not the MonitorPredicate value is defined enum value
public static bool IsInRangeMonitorPredicate(MonitorPredicate value)
Parameters
value
MonitorPredicateThe value.