Ejemplo n.º 1
0
        public InputController(IRootController root)
        {
            this.root = root;

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

            InitializeSpeechRecognition();
        }
Ejemplo n.º 2
0
        public OutputController(IRootController root)
        {
            this.root = root;

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

            InitializeSpeechSynthesis();
        }