Table of Contents

Class ExceptionEventWithMetadata

Namespace
Geotab.Checkmate.ObjectModel.Exceptions
Assembly
Geotab.Checkmate.ObjectModel.dll

false Exception with its corresponding event meta data.

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 ExceptionEvent

The 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

IEnumerable<ExceptionEventMetadata>

The EventsMetadata.

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 MonitorPredicate

The MonitorPredicate.

id Id

The Id of the Diagnostic or Zone in case of a Zone Crossing Event.

monitorType RuleMonitorType

The RuleMonitorType.

Returns

ExceptionEventMetadata

Nullable<T> with T being ExceptionEventMetadata.