7 references to MimeTypeMapper
PresentationCore (7)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
177
_contentType = MS.Internal.
MimeTypeMapper
.GetMimeTypeFromUri(Uri);
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (6)
318
if (
MimeTypeMapper
.OctetMime.AreTypeAndSubTypeEqual(contentType, true) ||
319
MimeTypeMapper
.TextPlainMime.AreTypeAndSubTypeEqual(contentType, true))
321
string extension =
MimeTypeMapper
.GetFileExtension(response.ResponseUri);
322
if ((String.Compare(extension,
MimeTypeMapper
.XamlExtension, StringComparison.OrdinalIgnoreCase) == 0) ||
323
(String.Compare(extension,
MimeTypeMapper
.XbapExtension, StringComparison.OrdinalIgnoreCase) == 0))
350
contentType =
MimeTypeMapper
.GetMimeTypeFromUri(response.ResponseUri);