MiddlewareFilterAttribute クラス

定義

によって提供されるミドルウェア パイプラインを実行します ConfigurationType。 ミドルウェア パイプラインは、非同期リソース フィルターとして扱われます。

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
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type MiddlewareFilterAttribute = class
    inherit Attribute
    interface IFilterFactory
    interface IFilterMetadata
    interface IOrderedFilter
Public Class MiddlewareFilterAttribute
Inherits Attribute
Implements IFilterFactory, IOrderedFilter
継承
MiddlewareFilterAttribute
派生
属性
実装

コンストラクター

MiddlewareFilterAttribute(Type)

MiddlewareFilterAttribute の新しいインスタンスを生成します。

プロパティ

ConfigurationType

ミドルウェア パイプラインを構成する型。

IsReusable

の結果 CreateInstance(IServiceProvider) を要求間で再利用できるかどうかを示す値を取得します。

Order

フィルターの実行順序を決定するための順序値を取得します。 フィルターは、 プロパティの昇順の数値で Order 実行されます。

メソッド

CreateInstance(IServiceProvider)

実行可能フィルターのインスタンスを作成します。

適用対象