Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Jan 10, 2024
1 parent 4aae82e commit 5135afc
Show file tree
Hide file tree
Showing 33 changed files with 6 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.IO;
using System.Net;

namespace v2rayN.Base
namespace v2rayN
{
internal class DownloaderHelper
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Net.Mime;
using System.Text;

namespace v2rayN.Base
namespace v2rayN
{
/// <summary>
/// </summary>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using v2rayN.Base;

namespace v2rayN
namespace v2rayN
{
public class SemanticVersion
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SQLite;
using System.Collections;

namespace v2rayN.Base
namespace v2rayN
{
public sealed class SqliteHelper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using System.IO;

namespace v2rayN.Base
namespace v2rayN
{
internal static class StringEx
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public static void SetAutoRun(string AutoRunRegPath, string AutoRunName, bool ru
Logging.SaveLog(ex.Message, ex);
}
}


/// <summary>
/// 获取启动了应用程序的可执行文件的路径
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/ConfigHandler.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Data;
using System.IO;
using System.Text.RegularExpressions;
using v2rayN.Base;
using v2rayN.Mode;

namespace v2rayN.Handler
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/CoreConfigSingbox.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Net;
using System.Net.NetworkInformation;
using v2rayN.Base;
using v2rayN.Mode;
using v2rayN.Resx;

Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/CoreConfigV2ray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using v2rayN.Base;
using v2rayN.Mode;
using v2rayN.Resx;

Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/DownloadHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Sockets;
using v2rayN.Base;
using v2rayN.Resx;

namespace v2rayN.Handler
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/LazyConfig.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Runtime.Intrinsics.X86;
using v2rayN.Base;
using v2rayN.Mode;

namespace v2rayN.Handler
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/ProfileExHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Concurrent;
using System.Reactive.Linq;
using v2rayN.Base;
using v2rayN.Mode;

namespace v2rayN.Handler
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/ShareHandler.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Specialized;
using System.Text.RegularExpressions;
using System.Web;
using v2rayN.Base;
using v2rayN.Mode;
using v2rayN.Resx;

Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/StatisticsHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Net;
using System.Net.Sockets;
using v2rayN.Base;
using v2rayN.Mode;

namespace v2rayN.Handler
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Handler/UpdateHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Text;
using System.Text.RegularExpressions;
using System.Windows;
using v2rayN.Base;
using v2rayN.Mode;
using v2rayN.Resx;

Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Mode/ProfileItem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using SQLite;
using v2rayN.Base;

namespace v2rayN.Mode
{
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/AddServer2ViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.IO;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/AddServerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using System.Text;
using System.Windows;
using System.Windows.Media;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/RoutingRuleDetailsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/RoutingRuleSettingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/RoutingSettingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/SubEditViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/ViewModels/SubSettingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Splat;
using System.Reactive;
using System.Windows;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Views/AddServerWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Controls;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;
using v2rayN.Resx;
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Views/MsgView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reactive.Linq;
using System.Text.RegularExpressions;
using System.Windows.Threading;
using v2rayN.Base;
using v2rayN.Handler;
using v2rayN.Mode;

Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Views/RoutingRuleDetailsWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ReactiveUI;
using System.Reactive.Disposables;
using System.Windows;
using v2rayN.Base;
using v2rayN.Mode;
using v2rayN.ViewModels;

Expand Down

0 comments on commit 5135afc

Please sign in to comment.