11 references to IsSubsetOf
Microsoft.AspNetCore.Mvc.Core (9)
ConsumesAttribute.cs (1)
134
if (parsedRequestMediaType.
IsSubsetOf
(contentTypeMediaType))
Formatters\FormatFilter.cs (1)
114
if (supportedMediaType.
IsSubsetOf
(parsedContentType))
Formatters\InputFormatter.cs (2)
72
if (parsedContentType.
IsSubsetOf
(supportedMediaType))
152
if (parsedMediaType.
IsSubsetOf
(parsedContentType))
Formatters\OutputFormatter.cs (4)
63
if (contentType != null && parsedContentType.
IsSubsetOf
(parsedMediaType))
77
if (contentType == null || parsedMediaType.
IsSubsetOf
(parsedContentType))
133
&& parsedContentType.
IsSubsetOf
(supportedMediaType))
144
if (supportedMediaType.
IsSubsetOf
(parsedContentType))
Infrastructure\DefaultOutputFormatterSelector.cs (1)
247
if (candidateContentType.
IsSubsetOf
(acceptableContentType))
Microsoft.AspNetCore.Mvc.Core.Test (2)
Formatters\MediaTypeTest.cs (2)
223
var result = subSetMediaType.
IsSubsetOf
(setMediaType);
252
var result = subSetMediaType.
IsSubsetOf
(setMediaType);