Class ExceptionEventWithMetadata
- Namespace
- Geotab.Checkmate.ObjectModel.Exceptions
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class ExceptionEventWithMetadata : ExceptionEvent, IEntity, IComparable, IIdentifiable, IVersion, IDeviceProvider, IDriverProvider, IDiagnosticProvider, IDateRange, IDeletedDateTimeProvider
- Inheritance
-
ExceptionEventWithMetadata
- Implements
- Inherited Members
Constructors
ExceptionEventWithMetadata(ExceptionEvent, IEnumerable<ExceptionEventMetadata>?)
Initializes a new instance of the ExceptionEventWithMetadata class. Creates a new instance of ExceptionEventWithMetadata.
public ExceptionEventWithMetadata(ExceptionEvent exceptionEvent, IEnumerable<ExceptionEventMetadata>? metadataList = null)
Parameters
exceptionEvent
ExceptionEventThe ExceptionEvent.
metadataList
IEnumerable<ExceptionEventMetadata>The List<T> of the provided exception event.
Properties
EventsMetadata
Gets the event metadata.
public IEnumerable<ExceptionEventMetadata> EventsMetadata { get; }
Property Value
Methods
GetEventMetadata(MonitorPredicate, Id, RuleMonitorType)
Gets the event metadata by monitor predicate, id (of zone or diagnostic), and monitor type.
public ExceptionEventMetadata? GetEventMetadata(MonitorPredicate monitorPredicate, Id id, RuleMonitorType monitorType)
Parameters
monitorPredicate
MonitorPredicateThe MonitorPredicate.
id
IdThe Id of the Diagnostic or Zone in case of a Zone Crossing Event.
monitorType
RuleMonitorTypeThe RuleMonitorType.
Returns
- ExceptionEventMetadata
Nullable<T> with
T
being ExceptionEventMetadata.