mirror of
https://github.com/claunia/osrepodbmgr.git
synced 2025-12-16 19:14:25 +00:00
Refactor: Sort and remove usings.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
using System;
|
||||
namespace osrepodbmgr.Core
|
||||
{
|
||||
public enum AlgoEnum
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* AlgoEnum.cs:
|
||||
* Workers/Clamd.cs:
|
||||
* Workers/Files.cs:
|
||||
* Workers/Consts.cs:
|
||||
* Workers/Delegates.cs:
|
||||
* Workers/VirusTotal.cs:
|
||||
Refactor: Sort and remove usings.
|
||||
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* DBOps.cs:
|
||||
|
||||
@@ -26,14 +26,13 @@
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
using System;
|
||||
using nClam;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
using SharpCompress.Compressors.LZMA;
|
||||
using SharpCompress.Compressors.Deflate;
|
||||
using SharpCompress.Compressors.BZip2;
|
||||
using System.Threading;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using nClam;
|
||||
using SharpCompress.Compressors.BZip2;
|
||||
using SharpCompress.Compressors.Deflate;
|
||||
using SharpCompress.Compressors.LZMA;
|
||||
|
||||
namespace osrepodbmgr.Core
|
||||
{
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
using System;
|
||||
namespace osrepodbmgr.Core
|
||||
{
|
||||
public static partial class Workers
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace osrepodbmgr.Core
|
||||
|
||||
@@ -935,7 +935,8 @@ namespace osrepodbmgr.Core
|
||||
}
|
||||
#pragma warning disable RECS0022 // A catch clause that catches System.Exception and has an empty body
|
||||
catch
|
||||
#pragma warning restore RECS0022 // A catch clause that catches System.Exception and has an empty body
|
||||
#pragma warning restore RECS0022 // A catch clause that catches System.Exception and has an empty body
|
||||
{
|
||||
// Do not crash
|
||||
}
|
||||
|
||||
|
||||
@@ -26,17 +26,16 @@
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
using System;
|
||||
using VirusTotalNET;
|
||||
using VirusTotalNET.Results;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
using VirusTotalNET.Objects;
|
||||
using System.Collections.Generic;
|
||||
using SharpCompress.Compressors.Deflate;
|
||||
using SharpCompress.Compressors.BZip2;
|
||||
using SharpCompress.Compressors.LZMA;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using SharpCompress.Compressors.BZip2;
|
||||
using SharpCompress.Compressors.Deflate;
|
||||
using SharpCompress.Compressors.LZMA;
|
||||
using VirusTotalNET;
|
||||
using VirusTotalNET.Objects;
|
||||
using VirusTotalNET.Results;
|
||||
|
||||
namespace osrepodbmgr.Core
|
||||
{
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Program.cs:
|
||||
Refactor: Sort and remove usings.
|
||||
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Program.cs:
|
||||
|
||||
@@ -39,12 +39,12 @@ namespace osrepodbmgr.Eto.Desktop
|
||||
{
|
||||
Settings.LoadSettings();
|
||||
Context.CheckUnar();
|
||||
if(Core.Settings.Current.UseAntivirus)
|
||||
if(Settings.Current.UseAntivirus)
|
||||
{
|
||||
if(Core.Settings.Current.UseClamd)
|
||||
if(Settings.Current.UseClamd)
|
||||
Workers.InitClamd();
|
||||
if(Core.Settings.Current.UseVirusTotal)
|
||||
Context.virusTotalEnabled = Workers.InitVirusTotal(Core.Settings.Current.VirusTotalKey);
|
||||
if(Settings.Current.UseVirusTotal)
|
||||
Context.virusTotalEnabled = Workers.InitVirusTotal(Settings.Current.VirusTotalKey);
|
||||
}
|
||||
Context.usableDotNetZip = !Platform.Detect.IsMac && !Platform.Detect.IsIos;
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Program.cs:
|
||||
Refactor: Sort and remove usings.
|
||||
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Program.cs:
|
||||
|
||||
@@ -39,12 +39,12 @@ namespace osrepodbmgr.Eto.XamMac2
|
||||
{
|
||||
Settings.LoadSettings();
|
||||
Context.CheckUnar();
|
||||
if(Core.Settings.Current.UseAntivirus)
|
||||
if(Settings.Current.UseAntivirus)
|
||||
{
|
||||
if(Core.Settings.Current.UseClamd)
|
||||
if(Settings.Current.UseClamd)
|
||||
Workers.InitClamd();
|
||||
if(Core.Settings.Current.UseVirusTotal)
|
||||
Context.virusTotalEnabled = Workers.InitVirusTotal(Core.Settings.Current.VirusTotalKey);
|
||||
if(Settings.Current.UseVirusTotal)
|
||||
Context.virusTotalEnabled = Workers.InitVirusTotal(Settings.Current.VirusTotalKey);
|
||||
}
|
||||
Context.usableDotNetZip = false;
|
||||
new Application(Platforms.XamMac2).Run(new frmMain());
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* frmMain.cs:
|
||||
Refactor: Sort and remove usings.
|
||||
|
||||
2017-05-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* frmMain.cs:
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
//
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using Gtk;
|
||||
using osrepodbmgr.Core;
|
||||
|
||||
Reference in New Issue
Block a user