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)
70
ContentType curContent = new ContentType(
ContentType
);
System\Windows\Application.cs (5)
408
ContentType contentType = new ContentType(part.
ContentType
);
471
ContentType contentType = new ContentType(part.
ContentType
);
587
return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.
ContentType
);
619
return (part == null) ? null : new StreamResourceInfo(part.GetSeekableStream(), part.
ContentType
);
703
return (stream == null) ? null : new StreamResourceInfo(stream, sooPart.
ContentType
);
System\Windows\Documents\FixedSchema.cs (8)
559
if (!_printTicketContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
581
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
582
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
601
if (!_fontContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
602
!_obfuscatedContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
629
if (!_discardControlContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
652
if (!_jpgContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)) &&
653
!_pngContentType.AreTypeAndSubTypeEqual(new ContentType(targetPart.
ContentType
)))
PresentationUI (11)
MS\Internal\Documents\Application\RestrictedTransactionalPackage.cs (1)
52
if ((part != null) && (!IsValidContentType(part.
ContentType
)))
MS\Internal\Documents\Application\TransactionalPackage.cs (9)
117
part.
ContentType
);
128
part.
ContentType
);
133
part.Uri, part.
ContentType
));
231
result.
ContentType
,
398
result.
ContentType
,
413
result.
ContentType
,
537
packagePart.
ContentType
,
544
temp.
ContentType
);
556
temp.
ContentType
);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
123
return _activePart.
ContentType
;
ReachFramework (2)
packaging\XpsDigitalSignature.cs (1)
344
string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).
ContentType
;
Packaging\XpsFont.cs (1)
34
_isObfuscated = (part.
ContentType
== XpsS0Markup.FontObfuscatedContentType.ToString());