Open sandboxFocus

Class AspNetCoreRequestMetadata

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.