MiddlewareFilterAttribute<T> Class

Definition

Executes a middleware pipeline provided the by the ConfigurationType. The middleware pipeline will be treated as an async resource filter.

public class MiddlewareFilterAttribute<T> : Microsoft.AspNetCore.Mvc.MiddlewareFilterAttribute
type MiddlewareFilterAttribute<'T> = class
    inherit MiddlewareFilterAttribute
Public Class MiddlewareFilterAttribute(Of T)
Inherits MiddlewareFilterAttribute

Type Parameters

T

A type which configures a middleware pipeline.

Inheritance
MiddlewareFilterAttribute<T>

Constructors

MiddlewareFilterAttribute<T>()

Instantiates a new instance of MiddlewareFilterAttribute.

Properties

ConfigurationType

The type which configures a middleware pipeline.

(Inherited from MiddlewareFilterAttribute)
IsReusable

Gets a value that indicates if the result of CreateInstance(IServiceProvider) can be reused across requests.

(Inherited from MiddlewareFilterAttribute)
Order

Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

(Inherited from MiddlewareFilterAttribute)

Methods

CreateInstance(IServiceProvider)

Creates an instance of the executable filter.

(Inherited from MiddlewareFilterAttribute)

Applies to