Пример #1
0
        static public void Init(ICommandManager commandManager)
        {
            SettingsModal data = SettingsManager.LoadSettings();

            if (data != null)
            {
                foreach (ExecutableModel exe in data.Executables)
                {
                    commandManager.AddCommandHandler(new RunCmd(exe));
                }
            }
        }
Пример #2
0
        static public void Init(ICommandManager commandManager)
        {
            SettingsModal data = SettingsManager.LoadSettings();

            if (data != null)
            {
                foreach (CommandModel cmd in data.Commands)
                {
                    commandManager.AddCommandHandler(new ScriptCmd(cmd));
                }
            }
        }
Пример #3
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new AddPassword());
 }
Пример #4
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new HelpCmd());
 }
Пример #5
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new NewGuid());
 }
Пример #6
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new Clear());
 }
Пример #7
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new SettingsCmd());
 }
Пример #8
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new Simplify());
 }
Пример #9
0
 static public void Init(ICommandManager commandManager)
 {
     commandManager.AddCommandHandler(new Pop(commandManager));
 }