Open sandboxFocus

Class LogEventMetadata<TExpressionModel>

A specialization of LogEventMetadata that specifies the expression model type, that is, 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 expression model type, that is, the type exposed to transaction policy expressions.

Constructors

Name Description
LogEventMetadata(string)

Initializes a new instance of the LogEventMetadata<TExpressionModel> class.

Methods

Name Description
GetExpressionModel(object)

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