19 references to ContentType
PresentationCore (2)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (2)
280
_mimeType = new MS.Internal.ContentType(p.
ContentType
); // save this for use in ContentType property - may still be null
702
_parent._mimeType = new MS.Internal.ContentType(p.
ContentType
);
PresentationFramework (14)
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
110
ContentType curContent = new ContentType(
ContentType
);
src\Framework\System\Windows\Application.cs (5)
519
ContentType contentType = new ContentType(part.
ContentType
);
594
ContentType contentType = new ContentType(part.
ContentType
);
714
return (part == null) ? null : new StreamResourceInfo(part.GetStream(), part.
ContentType
);
752
return (part == null) ? null : new StreamResourceInfo(part.GetStream(), part.
ContentType
);
844
return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.
ContentType
);
src\Framework\System\Windows\Documents\FixedSchema.cs (8)
601
if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
623
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
624
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
643
if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
644
!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
671
if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
694
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
695
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
WindowsBase (3)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (3)
760
uriAttr.Value = PackUriHelper.GetStringForPartUri(partName) + _contentTypeQueryStringPrefix + part.
ContentType
;
765
if (manager.TransformMapping.ContainsKey(part.
ContentType
))
767
transformName = manager.TransformMapping[part.
ContentType
];