MetalamaAPI documentationFlashtrace APIFlashtrace.​RecordsLog­Event­Metadata
Open sandboxFocus

LogEventMetadata Class

Defines how the raw CLR object stored in a LogEventData is translated into a set of visitable properties and an expression that is accessible from the transaction policy expressions.

Inheritance
System.Object
LogEventMetadata
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
public class LogEventMetadata : Object

Constructors

Name Description
LogEventMetadata(String)

Initializes a new instance of the LogEventMetadata class.

Properties

Name Description
Name

Gets the name of the current LogEventMetadata. This property may be undefined. It must be defined when the LogEventData must be available for evaluation from transaction policy expressions. In this case, the type of expression model (i.e. the generic parameter of LogEventMetadata<TExpressionModel>) must be identical for identical values of the Name property.

Methods

Name Description
GetPropertyOptions(String)

Gets the options of a given property.

HasInheritedProperty(Object)

Determines if the current LogEventMetadata contains any inherited property. The implementation of this method must not allocate heap memory.

VisitProperties<TVisitorState>(Object, ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions)

Invokes an action for each property in the raw CLR object of a LogEventData.