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
특성
구현

생성자

Name Description
FormatFilterAttribute()

경로 데이터 또는 쿼리 문자열의 형식 값을 사용하여 작업에서 반환된 의 콘텐츠 형식을 ObjectResult 설정하는 필터입니다.

속성

Name Description
IsReusable

의 결과를 CreateInstance(IServiceProvider) 요청 간에 재사용할 수 있는지를 나타내는 값을 가져옵니다.

메서드

Name Description
CreateInstance(IServiceProvider)

FormatFilter의 인스턴스를 만듭니다.

적용 대상