29 references to ContentType
PresentationCore (2)
System\IO\Packaging\PackWebResponse.cs (2)
239_mimeType = new MS.Internal.ContentType(p.ContentType); // save this for use in ContentType property - may still be null 649_parent._mimeType = new MS.Internal.ContentType(p.ContentType);
PresentationFramework (14)
MS\Internal\AppModel\ResourcePart.cs (1)
70ContentType curContent = new ContentType(ContentType);
System\Windows\Application.cs (5)
408ContentType contentType = new ContentType(part.ContentType); 471ContentType contentType = new ContentType(part.ContentType); 587return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 619return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.ContentType); 703return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.ContentType);
System\Windows\Documents\FixedSchema.cs (8)
559if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 581if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 582!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 601if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 602!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 629if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType))) 652if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)) && 653!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.ContentType)))
PresentationUI (11)
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (1)
52if ((part != null) && (!IsValidContentType(part.ContentType)))
MS\Internal\Documents\Application\TransactionalPackage.cs (9)
117part.ContentType); 128part.ContentType); 133part.Uri, part.ContentType)); 231result.ContentType, 398result.ContentType, 413result.ContentType, 537packagePart.ContentType, 544temp.ContentType); 556temp.ContentType);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
123return _activePart.ContentType;
ReachFramework (2)
packaging\XpsDigitalSignature.cs (1)
344string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).ContentType;
Packaging\XpsFont.cs (1)
34_isObfuscated = (part.ContentType == XpsS0Markup.FontObfuscatedContentType.ToString());