public void SwitchToRegister(ILogInView loginForm)
        {
            loginForm.HideForm();
            var form = _formsFactory.RegisterView();

            form.ShowViewModaless(this);
        }
Exemple #2
0
 public LogInPresenter(ILogInView view)
 {
     _view = view;
 }
 public LogInPresenter(ILogInView view, ILogInModel model)
 {
     _logInView  = view;
     _logInModel = model;
 }
 //Redundant?
 public void OnDestroy()
 {
     _logInView = null;
 }
		public AuthController(ILogInView view, IPivotalTrackerClient pivotalTrackerClient)
		{
			View = view;
			Client = pivotalTrackerClient;
		}
Exemple #6
0
 public void Init()
 {
     _fakeView  = Substitute.For <ILogInView>();
     _fakeModel = Substitute.For <ILogInModel>();
     _uut       = new LogInPresenter(_fakeView, _fakeModel);
 }
Exemple #7
0
 public LogInPresenter(ILogInView view, IUsersRepositories repository)
 {
     _view       = view;
     _repository = repository;
     BindEvents();
 }