49 references to CompressionOption
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
347
protected override PackagePart CreatePartCore(Uri uri, string contentType,
CompressionOption
compressionOption)
PresentationFramework (4)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
429
protected override PackagePart CreatePartCore(Uri uri, string contentType,
CompressionOption
compressionOption)
src\Framework\System\Windows\Documents\WpfPayload.cs (3)
491
PackagePart imagePart = _package.CreatePart(imagePartUri, imageContentType,
CompressionOption
.NotCompressed);
727
PackagePart imagePart = _package.CreatePart(imagePartUri, contentType,
CompressionOption
.NotCompressed);
811
PackagePart part = _package.CreatePart(entryPartUri, XamlContentType,
CompressionOption
.Normal);
WindowsBase (44)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
610
CompressionOption
compressionOption = _sourcePart == null ?
CompressionOption
.NotCompressed : _sourcePart.CompressionOption;
Base\System\IO\Packaging\CompoundFile\StorageInfo.cs (5)
291
public StreamInfo CreateStream( string name,
CompressionOption
compressionOption, EncryptionOption encryptionOption )
319
if (compressionOption !=
CompressionOption
.NotCompressed)
339
if ( (compressionOption !=
CompressionOption
.NotCompressed) && (encryptionOption == EncryptionOption.RightsManagement) )
353
else if ( (compressionOption !=
CompressionOption
.NotCompressed) && (encryptionOption == EncryptionOption.None) )
396
return CreateStream(name,
CompressionOption
.NotCompressed,EncryptionOption.None);
Base\System\IO\Packaging\CompoundFile\StreamInfo.cs (7)
119
private
CompressionOption
_compressionOption;
146
internal StreamInfo( StorageInfo parent, string streamName ) : this (parent, streamName,
CompressionOption
.NotCompressed, EncryptionOption.None)
158
internal StreamInfo( StorageInfo parent, string streamName,
CompressionOption
compressionOption,
180
public
CompressionOption
CompressionOption
187
return
CompressionOption
.NotCompressed;
823
_compressionOption =
CompressionOption
.NotCompressed;
854
_compressionOption =
CompressionOption
.Maximum;
Base\System\IO\Packaging\Package.cs (6)
285
return CreatePart(partUri, contentType,
CompressionOption
.NotCompressed);
308
CompressionOption
compressionOption)
798
CompressionOption
compressionOption);
947
internal static void ThrowIfCompressionOptionInvalid(
CompressionOption
compressionOption)
950
if (compressionOption <
CompressionOption
.NotCompressed || compressionOption >
CompressionOption
.SuperFast)
Base\System\IO\Packaging\PackagePart.cs (6)
68
:this(package, partUri, null,
CompressionOption
.NotCompressed)
96
:this(package, partUri, contentType,
CompressionOption
.NotCompressed)
127
CompressionOption
compressionOption)
250
public
CompressionOption
CompressionOption
922
private
CompressionOption
_compressionOption =
CompressionOption
.NotCompressed;
Base\System\IO\Packaging\ZipPackage.cs (15)
75
CompressionOption
compressionOption)
491
CompressionOption
compressionOption,
497
case
CompressionOption
.NotCompressed:
502
case
CompressionOption
.Normal:
507
case
CompressionOption
.Maximum:
512
case
CompressionOption
.Fast:
517
case
CompressionOption
.SuperFast:
527
goto case
CompressionOption
.NotCompressed;
595
static private
CompressionOption
GetCompressionOptionFromZipFileInfo(ZipFileInfo zipFileInfo)
600
CompressionOption
result =
CompressionOption
.NotCompressed;
609
result =
CompressionOption
.Normal;
612
result =
CompressionOption
.Fast;
615
result =
CompressionOption
.Maximum;
618
result =
CompressionOption
.SuperFast;
Base\System\IO\Packaging\ZipPackagePart.cs (3)
117
CompressionOption
compressionOption)
139
CompressionOption
compressionOption)
160
CompressionOption
compressionOption)