Refactor AdminContentProvider
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace FileTime.App.Core.UserCommand;
|
||||
|
||||
public class AddRemoteContentProviderCommand : IIdentifiableUserCommand
|
||||
{
|
||||
public const string CommandName = "add_remote_content_provider";
|
||||
|
||||
public static AddRemoteContentProviderCommand Instance { get; } = new();
|
||||
|
||||
private AddRemoteContentProviderCommand()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string UserCommandID => CommandName;
|
||||
public string Title => "Add Remote Content Provider";
|
||||
}
|
||||
@@ -11,6 +11,7 @@ public class DefaultIdentifiableCommandHandlerRegister : IStartupHandler
|
||||
{
|
||||
_userCommandHandlerService = userCommandHandlerService;
|
||||
|
||||
AddUserCommand(AddRemoteContentProviderCommand.Instance);
|
||||
AddUserCommand(CloseTabCommand.Instance);
|
||||
AddUserCommand(CopyCommand.Instance);
|
||||
AddUserCommand(CopyBase64Command.Instance);
|
||||
|
||||
Reference in New Issue
Block a user