Dela via


IApiRequestMetadataProvider Interface

Definition

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

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

Methods

SetContentTypes(MediaTypeCollection)

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

Applies to