Skip to content

Commit 2030772

Browse files
committed
修复警告
1 parent caf1b25 commit 2030772

File tree

26 files changed

+10
-46
lines changed

26 files changed

+10
-46
lines changed

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/API/Model/HutaoPlugin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using CommunityToolkit.WinUI.Converters;
2-
31
namespace Snap.Hutao.Remastered.API.Model;
42

53
public abstract class HutaoPlugin

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/API/Model/Plugin/EditableSettingItem.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Snap.Hutao.Remastered.API.Model.Plugin;
42

53
public class EditableSettingItem

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/API/Model/Plugin/RegisteredSettingInfo.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Snap.Hutao.Remastered.API.Model.Plugin;
42

53
public class RegisteredSettingInfo

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/API/Setting/PluginSetting.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Snap.Hutao.Remastered.Service.Plugin;
2-
using System.IO;
32

43
namespace Snap.Hutao.Remastered.API.Setting;
54

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/API/Setting/PluginSettingRegistration.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.Collections.Immutable;
42

53
namespace Snap.Hutao.Remastered.API.Setting;

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/Core/HutaoRuntime.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Snap.Hutao.Remastered.Core.IO;
99
using Snap.Hutao.Remastered.Core.IO.Hashing;
1010
using Snap.Hutao.Remastered.Core.Setting;
11-
using Snap.Hutao.Remastered.Service.Git;
1211
using System.Diagnostics;
1312
using System.IO;
1413
using System.Security.Cryptography;

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/Core/LifeCycle/AppActivation.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
using Snap.Hutao.Remastered.Service.Navigation;
1515
using Snap.Hutao.Remastered.Service.Notification;
1616
using Snap.Hutao.Remastered.Service.Plugin;
17-
using Snap.Hutao.Remastered.Service.SignIn;
1817
using Snap.Hutao.Remastered.UI.Input.HotKey;
1918
using Snap.Hutao.Remastered.UI.Shell;
2019
using Snap.Hutao.Remastered.UI.Windowing;

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/Core/LifeCycle/InterProcess/Yae/YaeDataArrayReceiver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Snap.Hutao.Remastered.Core.LifeCycle.InterProcess.Yae;
66

7-
public sealed class YaeDataArrayReceiver : IDisposable
7+
public sealed partial class YaeDataArrayReceiver : IDisposable
88
{
99
public ImmutableArray<YaeData> Array { get; set; } = [];
1010

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/Core/Property/NotifyPropertyChangedDeferral.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static NotifyPropertyChangedDeferral<T, TState> Create<T, TState>(T sourc
1919
}
2020

2121
[SuppressMessage("", "SA1402")]
22-
public sealed class NotifyPropertyChangedDeferral<T> : INotifyPropertyChangedDeferral
22+
public sealed partial class NotifyPropertyChangedDeferral<T> : INotifyPropertyChangedDeferral
2323
where T : INotifyPropertyChanged
2424
{
2525
private readonly T source;
@@ -38,7 +38,7 @@ public void Dispose()
3838
}
3939

4040
[SuppressMessage("", "SA1402")]
41-
public sealed class NotifyPropertyChangedDeferral<T, TState> : INotifyPropertyChangedDeferral
41+
public sealed partial class NotifyPropertyChangedDeferral<T, TState> : INotifyPropertyChangedDeferral
4242
where T : INotifyPropertyChanged
4343
{
4444
private readonly T source;

src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/Core/Shell/ShellLinkInterop.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using Snap.Hutao.Remastered.Core.IO;
55
using System.IO;
6-
using Windows.ApplicationModel;
76

87
namespace Snap.Hutao.Remastered.Core.Shell;
98

0 commit comments

Comments
 (0)