mirror of https://github.com/2dust/v2rayN
Rename Model to Models
parent
13bc2d0340
commit
2004df8337
|
@ -2,7 +2,7 @@
|
|||
using System.Windows;
|
||||
using System.Windows.Threading;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.IO;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.IO;
|
||||
using System.Reactive.Linq;
|
||||
using System.Text;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Net;
|
|||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Net.Sockets;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Text;
|
|||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Interop;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.Runtime.Intrinsics.X86;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using Splat;
|
|||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Media.Imaging;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Concurrent;
|
||||
using System.Reactive.Linq;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Specialized;
|
||||
using System.Text.RegularExpressions;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Diagnostics;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net.WebSockets;
|
||||
using System.Text;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
using Grpc.Core;
|
||||
using Grpc.Net.Client;
|
||||
using ProtosLib.Statistics;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
internal class StatisticsV2ray
|
||||
{
|
||||
private Model.Config _config;
|
||||
private Models.Config _config;
|
||||
private GrpcChannel? _channel;
|
||||
private StatsService.StatsServiceClient? _client;
|
||||
private bool _exitFlag;
|
||||
private Action<ServerSpeedItem> _updateFunc;
|
||||
|
||||
public StatisticsV2ray(Model.Config config, Action<ServerSpeedItem> update)
|
||||
public StatisticsV2ray(Models.Config config, Action<ServerSpeedItem> update)
|
||||
{
|
||||
_config = config;
|
||||
_updateFunc = update;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using PacLib;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Handler
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public class ComboItem
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 本软件配置文件实体类
|
|
@ -1,6 +1,6 @@
|
|||
using System.Windows.Input;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class CoreBasicItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class ConfigOld
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class CoreInfo
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class DNSItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EConfigType
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum ECoreType
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EGlobalHotkey
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EInboundProtocol
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EMove
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EServerColName
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum ESpeedActionType
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum ESysProxyType
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum ETransport
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public enum EViewAction
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public class GitHubReleaseAsset
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class ProfileExItem
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class ProfileItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class ProfileItemModel : ProfileItem
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class RoutingItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class RoutingItemModel : RoutingItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class RulesItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class RulesItemModel : RulesItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
internal class ServerSpeedItem : ServerStatItem
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class ServerStatItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
internal class ServerTestItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public class SingboxConfig
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
public class SsSIP008
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using SQLite;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
[Serializable]
|
||||
public class SubItem
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
internal class SysProxyConfig
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// v2ray配置文件实体类 例子SampleConfig.txt
|
|
@ -1,4 +1,4 @@
|
|||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Tcp伪装http的Request,只要Host
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace v2rayN.Model
|
||||
namespace v2rayN.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// https://github.com/2dust/v2rayN/wiki/
|
|
@ -6,7 +6,7 @@ using System.IO;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -4,7 +4,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -4,7 +4,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -15,7 +15,7 @@ using System.Text;
|
|||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.Views;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -4,7 +4,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -5,7 +5,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.Views;
|
||||
using Application = System.Windows.Application;
|
||||
|
|
|
@ -5,7 +5,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.Views;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.ViewModels
|
||||
|
|
|
@ -7,7 +7,7 @@ using Splat;
|
|||
using System.Reactive;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.Views;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using ReactiveUI;
|
||||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Reactive.Disposables;
|
|||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Windows;
|
|||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -11,7 +11,7 @@ using System.Windows.Interop;
|
|||
using System.Windows.Media;
|
||||
using v2rayN.Base;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.Resx;
|
||||
using v2rayN.ViewModels;
|
||||
using Point = System.Windows.Point;
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Reactive.Linq;
|
|||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Threading;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
|
||||
namespace v2rayN.Views
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Reactive.Disposables;
|
|||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
using v2rayN.Handler;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using ReactiveUI;
|
||||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using ReactiveUI;
|
||||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.ComponentModel;
|
|||
using System.Reactive.Disposables;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using v2rayN.Model;
|
||||
using v2rayN.Models;
|
||||
using v2rayN.ViewModels;
|
||||
|
||||
namespace v2rayN.Views
|
||||
|
|
Loading…
Reference in New Issue