public void SwitchToRegister(ILogInView loginForm) { loginForm.HideForm(); var form = _formsFactory.RegisterView(); form.ShowViewModaless(this); }
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; }
public void Init() { _fakeView = Substitute.For <ILogInView>(); _fakeModel = Substitute.For <ILogInModel>(); _uut = new LogInPresenter(_fakeView, _fakeModel); }
public LogInPresenter(ILogInView view, IUsersRepositories repository) { _view = view; _repository = repository; BindEvents(); }