Class FileInfoEventArgs
EventArgs used to report the file information which is going to be packed.
Implements
Inherited Members
Namespace: SharpSevenZip.EventArguments
Assembly: SharpSevenZip.dll
Syntax
public sealed class FileInfoEventArgs : PercentDoneEventArgs, ICancellable
Constructors
| Edit this page View SourceFileInfoEventArgs(ArchiveFileInfo, byte)
Initializes a new instance of the FileInfoEventArgs class.
Declaration
public FileInfoEventArgs(ArchiveFileInfo fileInfo, byte percentDone)
Parameters
Type | Name | Description |
---|---|---|
ArchiveFileInfo | fileInfo | The current ArchiveFileInfo. |
byte | percentDone | The percent of finished work. |
Properties
| Edit this page View SourceCancel
Gets or sets whether to stop the current archive operation.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
bool |
FileInfo
Gets the corresponding FileInfo to the event.
Declaration
public ArchiveFileInfo FileInfo { get; }
Property Value
Type | Description |
---|---|
ArchiveFileInfo |
Skip
Gets or sets whether to skip the current file.
Declaration
public bool Skip { get; set; }
Property Value
Type | Description |
---|---|
bool |