コード例 #1
0
 public MappingParameterEditorPresenter(
     IMappingParameterEditorView view,
     IUnitsEditorPresenter unitsEditorPresenter,
     ILloqEditorPresenter lloqEditorPresenter,
     IOptionsEditorPresenter errorEditorPresenter
     ) : base(view)
 {
     _unitsEditorPresenter = unitsEditorPresenter;
     _lloqEditorPresenter  = lloqEditorPresenter;
     _errorEditorPresenter = errorEditorPresenter;
     View.FillUnitsView(_unitsEditorPresenter.BaseView);
     View.FillLloqView(_lloqEditorPresenter.BaseView);
     View.FillErrorView(_errorEditorPresenter.BaseView);
     errorEditorPresenter.OnOptionSelectionChanged += errorSelectionChanged;
 }
コード例 #2
0
 public void AttachPresenter(ILloqEditorPresenter presenter)
 {
     _presenter = presenter;
 }