PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLog­Event­MetadataLog­Event­Metadata
Open sandboxFocus

Constructor LogEventMetadata


Initializes a new LogEventMetadata.

public LogEventMetadata(string name = null)
Type Name Description
String name

Optional. 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.