A specialization of LogEventMetadata that specifies the type of the expression model type, i.e. the type exposed to transaction policy expressions.
Inheritance
LogEventMetadata<TExpressionModel>
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class LogEventMetadata<TExpressionModel> : LogEventMetadataType 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. |