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

AspNetCoreRequestMetadata.GetExpressionModel Method

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

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

Parameters

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

Return Value

Type: AspNetCoreRequestExpressionModel
See Also