Implemented interface member:
method
GetSupportedContentTypes
Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider.GetSupportedContentTypes(System.String, System.Type)
5 references to GetSupportedContentTypes
Microsoft.AspNetCore.Mvc.Core.Test (5)
Formatters\InputFormatterTest.cs (5)
326var results = formatter.GetSupportedContentTypes(contentType: null, objectType: typeof(int)); 341var results = formatter.GetSupportedContentTypes(contentType: null, objectType: typeof(string)); 356var results = formatter.GetSupportedContentTypes(contentType: null, objectType: typeof(string)); 374var results = formatter.GetSupportedContentTypes("text/*", typeof(string)); 404() => formatter.GetSupportedContentTypes("application/json", typeof(object)));