PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLog­Event­Metadata<TExpression­Model>
Open sandboxFocus

LogEventMetadata<TExpressionModel> Class

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.