예제 #1
0
        public InputController(IRootController root)
        {
            this.root = root;

            // initialize this agent
            abstraction  = new InputAbstraction(SubmitInput);
            presentation = new InputPresentation();
            presentation.GetUI().DataContext = abstraction;

            InitializeSpeechRecognition();
        }
예제 #2
0
        public OutputController(IRootController root)
        {
            this.root = root;

            // initialize this agent
            abstraction  = new OutputAbstraction();
            presentation = new OutputPresentation();
            presentation.GetUI().DataContext = abstraction;

            InitializeSpeechSynthesis();
        }