Example #1
0
        private Automator()
        {
            this.socketServer      = new SocketServer(this.RequestHandler);
            this.elementsRegistry  = new ElementsRegistry();
            this.windowsesRegistry = new WindowsRegistry();
            this.Session           = "AwesomeSession";

            this.commandsExecutorsDispatcher =
                new ExecutorsDispatcher(typeof(CommandExecutorBase).GetTypeInfo().Assembly, typeof(CommandExecutorBase));
            this.commandsExecutorsDispatcher.AddExecutor("ping", typeof(PingExecutor));
        }
        private Automator()
        {
            this.socketServer = new SocketServer(this.RequestHandler);

            this.elementsRegistry = new ElementsRegistry();
            this.windowsesRegistry = new WindowsRegistry();
            this.Session = "AwesomeSession";

            this.commandsExecutorsDispatcher =
                new ExecutorsDispatcher(typeof(CommandExecutorBase).GetTypeInfo().Assembly, typeof(CommandExecutorBase));
            this.commandsExecutorsDispatcher.AddExecutor("ping", typeof(PingExecutor));
        }