1
0
mirror of https://github.com/XFox111/GZipCompression.git synced 2026-04-22 06:16:18 +03:00

Merging to .NET Core 3.1 (#2)

* Code refactoring

* Rebuilt project for .NET Core 3.1

* Updated code comments
This commit is contained in:
Michael Gordeev
2020-05-20 08:55:33 +03:00
committed by GitHub
parent 19f50bf499
commit 8eba1def4b
10 changed files with 326 additions and 465 deletions
+19 -17
View File
@@ -1,18 +1,20 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GZipTest
namespace GZipTest
{
interface IProcessingModule
{
void Run(string input, string output);
void Stop();
event ProgressChangedEventHandler ProgressChanged;
event EventHandler Complete;
event ErrorEventHandler ErrorOccured;
}
}
/// <summary>
/// Processing module interface
/// </summary>
interface IProcessingModule
{
/// <summary>
/// Indicates wether the module is processing a file
/// </summary>
bool IsWorking { get; }
/// <summary>
/// Starts the job
/// </summary>
/// <param name="input">Source file path (relative or absolute)</param>
/// <param name="output">Destination file path (relative or absolute)</param>
void Run(string input, string output);
}
}