29 references to ContentType
PresentationCore (2)
System\IO\Packaging\PackWebResponse.cs (2)
242_mimeType = new MS.Internal.ContentType(p.ContentType); // save this for use in ContentType property - may still be null 656_parent._mimeType = new MS.Internal.ContentType(p.ContentType);
PresentationFramework (14)
MS\Internal\AppModel\ResourcePart.cs (1)
83ContentType curContent = new ContentType(ContentType);
System\Windows\Application.cs (5)
434ContentType contentType = new ContentType(part.ContentType); 497ContentType contentType = new ContentType(part.ContentType); 611return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 643return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 727return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.ContentType);
System\Windows\Documents\FixedSchema.cs (8)
591if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 613if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 614!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 633if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 634!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 661if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 684if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 685!_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, 402result.ContentType, 417result.ContentType, 541packagePart.ContentType, 548temp.ContentType); 560temp.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());