mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Refactoring command args and change the signal instance implement.
This commit is contained in:
21
Wox/CommandArgs/ReloadPluginCommandArg.cs
Normal file
21
Wox/CommandArgs/ReloadPluginCommandArg.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Wox.PluginLoader;
|
||||
|
||||
namespace Wox.CommandArgs
|
||||
{
|
||||
public class ReloadPluginCommandArg : ICommandArg
|
||||
{
|
||||
public string Command
|
||||
{
|
||||
get { return "reloadplugin"; }
|
||||
}
|
||||
|
||||
public void Execute(IList<string> args)
|
||||
{
|
||||
Plugins.Init();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user