Table of Contents

Class ArchiveOptions

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

归档配置类

public class ArchiveOptions
Inheritance
ArchiveOptions
Inherited Members
Extension Methods

Constructors

ArchiveOptions()

public ArchiveOptions()

Properties

CompressionLevel

获得/设置 压缩等级 默认 Optimal

public CompressionLevel CompressionLevel { get; set; }

Property Value

CompressionLevel

Encoding

获得/设置 编码方法 默认空 内部使用 UTF-8 编码

public Encoding? Encoding { get; set; }

Property Value

Encoding

Mode

获得/设置 归档模式 默认 Create

public ZipArchiveMode Mode { get; set; }

Property Value

ZipArchiveMode

ReadStreamAsync

获得/设置 获取文件流回调方法

public Func<string, Task<Stream>>? ReadStreamAsync { get; set; }

Property Value

Func<string, Task<Stream>>