2022-12-20 15:06:44 +00:00
|
|
|
using System;
|
2015-12-30 11:19:42 +00:00
|
|
|
|
2022-12-20 15:06:44 +00:00
|
|
|
namespace SharpCompress.Common;
|
|
|
|
|
|
|
|
|
|
public sealed class FilePartExtractionBeginEventArgs : EventArgs
|
2015-12-30 11:19:42 +00:00
|
|
|
{
|
2022-12-20 15:06:44 +00:00
|
|
|
public FilePartExtractionBeginEventArgs(string name, long size, long compressedSize)
|
2015-12-30 11:19:42 +00:00
|
|
|
{
|
2022-12-20 15:06:44 +00:00
|
|
|
Name = name;
|
|
|
|
|
Size = size;
|
|
|
|
|
CompressedSize = compressedSize;
|
|
|
|
|
}
|
2020-05-23 16:27:55 -07:00
|
|
|
|
2022-12-20 15:06:44 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// File name for the part for the current entry
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; }
|
2015-12-30 11:19:42 +00:00
|
|
|
|
2022-12-20 15:06:44 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Uncompressed size of the current entry in the part
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Size { get; }
|
2015-12-30 11:19:42 +00:00
|
|
|
|
2022-12-20 15:06:44 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Compressed size of the current entry in the part
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CompressedSize { get; }
|
2022-12-20 13:45:47 +00:00
|
|
|
}
|