FormatFilterAttribute クラス

定義

ルート データまたはクエリ文字列の書式値を使用して、アクションから返された にコンテンツ タイプを ObjectResult 設定するフィルター。

public ref class FormatFilterAttribute : Attribute, Microsoft::AspNetCore::Mvc::Filters::IFilterFactory
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class FormatFilterAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type FormatFilterAttribute = class
    inherit Attribute
    interface IFilterFactory
    interface IFilterMetadata
Public Class FormatFilterAttribute
Inherits Attribute
Implements IFilterFactory
継承
FormatFilterAttribute
属性
実装

コンストラクター

FormatFilterAttribute()

ルート データまたはクエリ文字列の書式値を使用して、アクションから返された にコンテンツ タイプを ObjectResult 設定するフィルター。

プロパティ

IsReusable

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

メソッド

CreateInstance(IServiceProvider)

FormatFilter のインスタンスを作成します。

適用対象