public InputController(IRootController root) { this.root = root; // initialize this agent abstraction = new InputAbstraction(SubmitInput); presentation = new InputPresentation(); presentation.GetUI().DataContext = abstraction; InitializeSpeechRecognition(); }
public OutputController(IRootController root) { this.root = root; // initialize this agent abstraction = new OutputAbstraction(); presentation = new OutputPresentation(); presentation.GetUI().DataContext = abstraction; InitializeSpeechSynthesis(); }