コード例 #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();
        }