Open sandboxFocus

Class AspNetFrameworkRequestMetadata

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

Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.dll
Syntax
public class AspNetFrameworkRequestMetadata : AspNetFrameworkRequestMetadata<AspNetFrameworkRequestExpressionModel>

Constructors

Name Description
AspNetFrameworkRequestMetadata()

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

AspNetFrameworkRequestMetadata(string)

Initializes a new AspNetFrameworkRequestMetadata and specifies the name. Invoke this constructor if you are deriving the class.

Methods

Name Description
GetExpressionModel(object)

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