예제 #1
0
        static void Main()
        {
            CoreCommandHandler coreCommandHandler = DependencyResolver.Container.Resolve <CoreCommandHandler>();

            string command = GetCommand();

            while (command != "exit")
            {
                coreCommandHandler.Handle(command);
                command = GetCommand();
            }
        }
예제 #2
0
 public Worker(CoreCommandHandler coreCommandHandler)
 {
     this.coreCommandHandler = coreCommandHandler;
 }