PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­CoreAsp­Net­Core­Request­Metadata
Open sandboxFocus

AspNetCoreRequestMetadata Class

The default implementation of LogEventMetadata and incoming ASP.NET Core requests. Exposes an AspNetCoreRequestExpressionModel to the policy configuration file.

Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll
Syntax
public class AspNetCoreRequestMetadata : AspNetCoreRequestMetadata<AspNetCoreRequestExpressionModel>

Constructors

Name Description
AspNetCoreRequestMetadata()

Initializes a new AspNetCoreRequestMetadata with the default name. You must not invoke this constructor if you are deriving the class.

AspNetCoreRequestMetadata(String)

Initializes a new AspNetCoreRequestMetadata and specifies the name. Invoke this constructor if you are deriging the class.

Methods

Name Description
GetExpressionModel(Object)

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