PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Framework Namespace / Asp­Net­Framework­Request­Metadata Class / Asp­Net­Framework­Request­Metadata Methods / Asp­Net­Framework­Request­Metadata.​Get­Expression­Model Method

AspNetFrameworkRequestMetadata.GetExpressionModel Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework (in PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public override AspNetFrameworkRequestExpressionModel GetExpressionModel(
	Object data
)

Parameters

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

Return Value

Type: AspNetFrameworkRequestExpressionModel
See Also