public ZoomInCommand(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }
 protected override void Context()
 {
     _mainViewPresenter = A.Fake <IMainViewPresenter>();
     _eventPublisher    = A.Fake <IEventPublisher>();
     _command           = A.Fake <IUICommand>();
 }
 protected override void Context()
 {
     _mainViewPresenter = A.Fake <IMainViewPresenter>();
     sut = new ActiveSubjectRetriever(_mainViewPresenter);
 }
Example #4
0
 public void AttachPresenter(IMainViewPresenter presenter)
 {
     this._presenter= presenter;
 }
 public LayoutByForcesCommand(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }
Example #6
0
 public virtual void AttachPresenter(IMainViewPresenter presenter)
 {
     _presenter = presenter;
 }
 public AddMoleculeNameUICommand(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }
Example #8
0
 public FitToPageCommand(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }
Example #9
0
 public ActiveSubjectRetriever(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }
Example #10
0
 public MainView()
 {
     InitializeComponent();
     _mainViewPresenter = new MainViewPresenter(new UserRepository());
     _mainViewPresenter.SetView(this);
 }
 public LayoutInLayersCommand(IMainViewPresenter mainViewPresenter)
 {
     _mainViewPresenter = mainViewPresenter;
 }