PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom/Log­Event­Metadata<TExpression­Model>
Open sandboxFocus

Class LogEventMetadata<TExpressionModel>

A specialization of LogEventMetadata that specifies the type of the expression model type, i.e. the type exposed to transaction policy expressions.

Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class LogEventMetadata<TExpressionModel> : LogEventMetadata
Type Parameters
Name Description
TExpressionModel

The type of the expression model type, i.e. the type exposed to transaction policy expressions

Constructors

Name Description
LogEventMetadata(String)

Initializes a new LogEventMetadata.

Methods

Name Description
GetExpressionModel(Object)

Gets the object that must be exposed to the expressions in transaction policies.