public TextSynchronizer(IWordCounterModel wordCounterModel, ITextInputModel textInputModel) { this.wordCounterModel = wordCounterModel; this.textInputModel = textInputModel; textInputModel.TextInputChange += OnTextInputChange; }
public WordCounterPresenter(IWordCounterView wordCounterView, IWordCounterModel wordCounterModel) { this.wordCounterView = wordCounterView; this.wordCounterModel = wordCounterModel; wordCounterModel.WordCounterDataChange += OnModelDataCHange; }
public RunButtonNavigator(IToolbarView toolbarView, IWordCounterModel wordCounterModel) { toolbarView.ButtonRunClick += OnRunClick; this.wordCounterModel = wordCounterModel; }