29 references to ContentType
PresentationCore (2)
System\IO\Packaging\PackWebResponse.cs (2)
240_mimeType = new MS.Internal.ContentType(p.ContentType); // save this for use in ContentType property - may still be null 650_parent._mimeType = new MS.Internal.ContentType(p.ContentType);
PresentationFramework (14)
MS\Internal\AppModel\ResourcePart.cs (1)
71ContentType curContent = new ContentType(ContentType);
System\Windows\Application.cs (5)
409ContentType contentType = new ContentType(part.ContentType); 472ContentType contentType = new ContentType(part.ContentType); 588return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 620return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 704return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.ContentType);
System\Windows\Documents\FixedSchema.cs (8)
594if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 616if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 617!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 636if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 637!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 664if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 687if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 688!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)))
PresentationUI (11)
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (1)
53if ((part != null) && (!IsValidContentType(part.ContentType)))
MS\Internal\Documents\Application\TransactionalPackage.cs (9)
118part.ContentType); 129part.ContentType); 134part.Uri, part.ContentType)); 232result.ContentType, 399result.ContentType, 414result.ContentType, 538packagePart.ContentType, 545temp.ContentType); 557temp.ContentType);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
124return _activePart.ContentType;
ReachFramework (2)
packaging\XpsDigitalSignature.cs (1)
345string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).ContentType;
Packaging\XpsFont.cs (1)
35_isObfuscated = (part.ContentType == XpsS0Markup.FontObfuscatedContentType.ToString());