PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Event­Metadata(TExpression­Model) Class / Log­Event­Metadata(TExpression­Model) Methods / Log­Event­Metadata(TExpression­Model).​Get­Expression­Model Method

LogEventMetadata<TExpressionModel>.GetExpressionModel Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual TExpressionModel GetExpressionModel(
	Object data
)

Parameters

data
Type: System.Object
The raw CLR object, typically LogEventData.Data.

Return Value

Type: TExpressionModel
See Also