Skip to content

Commit

Permalink
修复IDE0130
Browse files Browse the repository at this point in the history
  • Loading branch information
gdr2333 committed Dec 4, 2024
1 parent 4a0316d commit c3e71fe
Show file tree
Hide file tree
Showing 303 changed files with 642 additions and 327 deletions.
4 changes: 3 additions & 1 deletion src/AssmeblyCheck/AssemblyCheckCore.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using EleCho.GoCqHttpSdk;
using EleCho.GoCqHttpSdk.Action;
using EleCho.GoCqHttpSdk.Post;
using EleCho.GoCqHttpSdk.Action.Result;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Post.Base;
using System.Reflection;
using System.Text.Json;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using EleCho.CommandLine;
using EleCho.GoCqHttpSdk.Extension;
using EleCho.GoCqHttpSdk.Message;
using EleCho.GoCqHttpSdk.Post;
using EleCho.GoCqHttpSdk.Post.Base;
using System;
using System.Collections.Generic;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace EleCho.GoCqHttpSdk.CommandExecuting;
using EleCho.GoCqHttpSdk.Extension;

namespace EleCho.GoCqHttpSdk.CommandExecuting;

public static class CqPostSessionCommandExecutingExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Post;
using EleCho.GoCqHttpSdk.Post.Base;

namespace EleCho.GoCqHttpSdk.MessageMatching;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using EleCho.GoCqHttpSdk.Extension;
using EleCho.GoCqHttpSdk.Post;

namespace EleCho.GoCqHttpSdk.MessageMatching;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqAction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using EleCho.GoCqHttpSdk.Action.Model;
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqBanGroupAllMembers.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using EleCho.GoCqHttpSdk.Utils;
using System;
using EleCho.GoCqHttpSdk.DataStructure.Model;
using EleCho.GoCqHttpSdk.DataStructure;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqBanGroupMemberAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;
using System;

namespace EleCho.GoCqHttpSdk.Action;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqCanSendImageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqCanSendRecordAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqCheckUrlSafetyAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqCreateGroupFolderAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqDeleteFriendAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
2 changes: 2 additions & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqDeleteGroupFileAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.DataStructure;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqDeleteGroupFolderAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqDownloadFileAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetCookiesAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetCsrfTokenAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetForwardMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetFriendListAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;


namespace EleCho.GoCqHttpSdk.Action;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetGroupFileUrlAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;


namespace EleCho.GoCqHttpSdk.Action;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;


namespace EleCho.GoCqHttpSdk.Action;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetGroupListAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetGroupRootFilesAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetImageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;


namespace EleCho.GoCqHttpSdk.Action;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetModelShowAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetOnlineClientsAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGetWordSlicesAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqGroupSignInAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqKickGroupMemberAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;


namespace EleCho.GoCqHttpSdk.Action;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqLeaveGroupAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqMarkMessageAsReadAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqOcrImageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqRecallMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqReloadEventFilterAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Message;
using System.Linq;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSendGroupMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Message;
using System;
using System.Linq;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSendMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Message;
using System;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Linq;
using EleCho.GoCqHttpSdk.Message;
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;
using EleCho.GoCqHttpSdk.Message;
using System;
using System.Linq;
Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetAccountProfileAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetEssenceMessageAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetGroupAnonymousAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetGroupAvatarAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetGroupNameAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
1 change: 1 addition & 0 deletions src/EleCho.GoCqHttpSdk/Action/CqSetGroupNicknameAction.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EleCho.GoCqHttpSdk.Action.Model.Params;
using EleCho.GoCqHttpSdk.Enumeration;

namespace EleCho.GoCqHttpSdk.Action;

Expand Down
Loading

0 comments on commit c3e71fe

Please sign in to comment.