From 2b4ee1719a43f442092cb7bff4fd423b1cdc3e9d Mon Sep 17 00:00:00 2001 From: Connection Refused Date: Mon, 4 Oct 2021 21:36:12 +0800 Subject: [PATCH] [Netch] Format code --- Netch/Controllers/MainController.cs | 4 +--- Netch/Controllers/Other/DNS/AioDNSController.cs | 3 --- Netch/Controllers/Server/WireGuardController.cs | 4 ---- Netch/Models/Config/DNSProxy.cs | 8 +------- Netch/Models/Config/XRay.cs | 8 +------- Netch/Models/Server/ServerType.cs | 2 +- 6 files changed, 4 insertions(+), 25 deletions(-) diff --git a/Netch/Controllers/MainController.cs b/Netch/Controllers/MainController.cs index dba9f92d..c7684f95 100644 --- a/Netch/Controllers/MainController.cs +++ b/Netch/Controllers/MainController.cs @@ -1,6 +1,4 @@ -using System; - -namespace Netch.Controllers +namespace Netch.Controllers { public class MainController : Interface.IController { diff --git a/Netch/Controllers/Other/DNS/AioDNSController.cs b/Netch/Controllers/Other/DNS/AioDNSController.cs index 5a1b767e..6ea99f15 100644 --- a/Netch/Controllers/Other/DNS/AioDNSController.cs +++ b/Netch/Controllers/Other/DNS/AioDNSController.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; using System.Runtime.InteropServices; namespace Netch.Controllers.Other.DNS diff --git a/Netch/Controllers/Server/WireGuardController.cs b/Netch/Controllers/Server/WireGuardController.cs index 40083e58..097c38ca 100644 --- a/Netch/Controllers/Server/WireGuardController.cs +++ b/Netch/Controllers/Server/WireGuardController.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Netch.Controllers.Server { diff --git a/Netch/Models/Config/DNSProxy.cs b/Netch/Models/Config/DNSProxy.cs index 9f768d54..18fc6d71 100644 --- a/Netch/Models/Config/DNSProxy.cs +++ b/Netch/Models/Config/DNSProxy.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Netch.Models.Config +namespace Netch.Models.Config { public class DNSProxy { diff --git a/Netch/Models/Config/XRay.cs b/Netch/Models/Config/XRay.cs index 83482391..da6ed69e 100644 --- a/Netch/Models/Config/XRay.cs +++ b/Netch/Models/Config/XRay.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Netch.Models.Config +namespace Netch.Models.Config { public class XRay { diff --git a/Netch/Models/Server/ServerType.cs b/Netch/Models/Server/ServerType.cs index 23010321..71ffa034 100644 --- a/Netch/Models/Server/ServerType.cs +++ b/Netch/Models/Server/ServerType.cs @@ -21,7 +21,7 @@ /// WireGuard /// WireGuard, - + /// /// Trojan ///