mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-22 22:38:10 +03:00
up 7.25.2
https://github.com/2dust/v2rayN/commit/5d9718a0bb93fe4bfa6d8a9a8f985e4f16642ba1
This commit is contained in:
@@ -8,8 +8,13 @@ public class BulkObservableCollection<T> : ObservableCollection<T>
|
||||
{
|
||||
}
|
||||
|
||||
public BulkObservableCollection(IEnumerable<T> collection) : base(collection) { }
|
||||
public BulkObservableCollection(List<T> list) : base(list) { }
|
||||
public BulkObservableCollection(IEnumerable<T> collection) : base(collection)
|
||||
{
|
||||
}
|
||||
|
||||
public BulkObservableCollection(List<T> list) : base(list)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
|
||||
@@ -6,11 +6,6 @@ global using System.Diagnostics;
|
||||
global using System.Net;
|
||||
global using System.Net.NetworkInformation;
|
||||
global using System.Net.Sockets;
|
||||
global using ReactiveUI.Primitives;
|
||||
global using ReactiveUI.Primitives.Concurrency;
|
||||
global using ReactiveUI.Primitives.Extensions;
|
||||
global using ReactiveUI.Primitives.Disposables;
|
||||
global using ReactiveUI.Primitives.Signals;
|
||||
global using System.Reflection;
|
||||
global using System.Runtime.InteropServices;
|
||||
global using System.Runtime.Versioning;
|
||||
@@ -22,6 +17,11 @@ global using System.Text.Json.Nodes;
|
||||
global using System.Text.Json.Serialization;
|
||||
global using System.Text.RegularExpressions;
|
||||
global using ReactiveUI;
|
||||
global using ReactiveUI.Primitives;
|
||||
global using ReactiveUI.Primitives.Concurrency;
|
||||
global using ReactiveUI.Primitives.Disposables;
|
||||
global using ReactiveUI.Primitives.Extensions;
|
||||
global using ReactiveUI.Primitives.Signals;
|
||||
global using ReactiveUI.SourceGenerators;
|
||||
global using ServiceLib.Base;
|
||||
global using ServiceLib.Common;
|
||||
|
||||
@@ -3,9 +3,9 @@ namespace ServiceLib.Models.Dto;
|
||||
[Serializable]
|
||||
public partial class ClashProxyModel : ReactiveObject
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
public required string Type { get; set; }
|
||||
public string Type { get; set; }
|
||||
|
||||
public string? Now { get; set; }
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public class SpeedtestService(Config config, Func<SpeedTestResult, Task> updateF
|
||||
runCts.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private async Task RunAsync(ESpeedActionType actionType, List<ProfileItem> selecteds, CancellationToken ct = default)
|
||||
{
|
||||
var lstSelected = await GetClearItem(actionType, selecteds);
|
||||
@@ -178,9 +178,11 @@ public class SpeedtestService(Config config, Func<SpeedTestResult, Task> updateF
|
||||
case ESpeedActionType.UdpTest:
|
||||
await UpdateFunc(it.IndexId, message, "");
|
||||
break;
|
||||
|
||||
case ESpeedActionType.Speedtest:
|
||||
await UpdateFunc(it.IndexId, "", message);
|
||||
break;
|
||||
|
||||
case ESpeedActionType.Mixedtest:
|
||||
await UpdateFunc(it.IndexId, message, message);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user