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
exceptionEventExceptionEventThe ExceptionEvent.
metadataListIEnumerable<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
monitorPredicateMonitorPredicateThe MonitorPredicate.
idIdThe Id of the Diagnostic or Zone in case of a Zone Crossing Event.
monitorTypeRuleMonitorTypeThe RuleMonitorType.
Returns
- ExceptionEventMetadata
Nullable<T> with
Tbeing ExceptionEventMetadata.