IApiRequestMetadataProvider IApiRequestMetadataProvider IApiRequestMetadataProvider Interface

Definition

Provides a set of possible content types than can be consumed by the action.

public interface IApiRequestMetadataProvider : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IApiRequestMetadataProvider = interface
    interface IFilterMetadata
Public Interface IApiRequestMetadataProvider
Implements IFilterMetadata
Derived
Implements

Methods

SetContentTypes(MediaTypeCollection) SetContentTypes(MediaTypeCollection) SetContentTypes(MediaTypeCollection)

Configures a collection of allowed content types which can be consumed by the action.

Applies to