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)
83
ContentType curContent = new ContentType(
ContentType
);
System\Windows\Application.cs (5)
434
ContentType contentType = new ContentType(part.
ContentType
);
497
ContentType contentType = new ContentType(part.
ContentType
);
611
return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.
ContentType
);
643
return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.
ContentType
);
727
return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.
ContentType
);
System\Windows\Documents\FixedSchema.cs (8)
591
if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
613
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
614
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
633
if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
634
!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
661
if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
684
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
685
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
PresentationUI (11)
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (1)
53
if ((part != null) && (!IsValidContentType(part.
ContentType
)))
MS\Internal\Documents\Application\TransactionalPackage.cs (9)
118
part.
ContentType
);
129
part.
ContentType
);
134
part.Uri, part.
ContentType
));
232
result.
ContentType
,
402
result.
ContentType
,
417
result.
ContentType
,
541
packagePart.
ContentType
,
548
temp.
ContentType
);
560
temp.
ContentType
);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
124
return _activePart.
ContentType
;
ReachFramework (2)
packaging\XpsDigitalSignature.cs (1)
345
string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).
ContentType
;
Packaging\XpsFont.cs (1)
35
_isObfuscated = (part.
ContentType
== XpsS0Markup.FontObfuscatedContentType.ToString());