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)
110ContentType curContent = new ContentType(ContentType);
src\Framework\System\Windows\Application.cs (5)
519ContentType contentType = new ContentType(part.ContentType); 594ContentType contentType = new ContentType(part.ContentType); 714return (part == null) ? null : new StreamResourceInfo(part.GetStream(), part.ContentType); 752return (part == null) ? null : new StreamResourceInfo(part.GetStream(), part.ContentType); 844return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.ContentType);
src\Framework\System\Windows\Documents\FixedSchema.cs (8)
601if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 623if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 624!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 643if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 644!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 671if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 694if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 695!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)))
WindowsBase (3)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (3)
760uriAttr.Value = PackUriHelper.GetStringForPartUri(partName) + _contentTypeQueryStringPrefix + part.ContentType; 765if (manager.TransformMapping.ContainsKey(part.ContentType)) 767transformName = manager.TransformMapping[part.ContentType];