MiddlewareFilterAttribute Class

Definition

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

public ref class MiddlewareFilterAttribute : Attribute, Microsoft::AspNetCore::Mvc::Filters::IFilterFactory, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class MiddlewareFilterAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type MiddlewareFilterAttribute = class
    inherit Attribute
    interface IFilterFactory
    interface IFilterMetadata
    interface IOrderedFilter
Public Class MiddlewareFilterAttribute
Inherits Attribute
Implements IFilterFactory, IOrderedFilter
Inheritance
MiddlewareFilterAttribute
Attributes
Implements

Constructors

MiddlewareFilterAttribute(Type)

Instantiates a new instance of MiddlewareFilterAttribute.

Properties

ConfigurationType
IsReusable
Order

Methods

CreateInstance(IServiceProvider)

Applies to