public PresenterAuth(IViewAuth view, IInteractorAuth interactor, IRouterAuth router, Action facebookCallLoginAction, Action googleCallLoginAction, Action vkCallLoginAction, Action okCallLoginAction, IAuthStylesHolder stylesHolder, IRegAuth authLocaleStrings) { if (view == null || interactor == null || router == null) { throw new NullReferenceException(); } _router = router; _view = view; _interactor = interactor; _view.Presenter = this; _interactor.Presenter = this; _authLocaleStrings = authLocaleStrings; _facebookCallLoginAction = facebookCallLoginAction; _googleCallLoginAction = googleCallLoginAction; _vkCallLoginAction = vkCallLoginAction; _okCallLoginAction = okCallLoginAction; _stylesHolder = stylesHolder; _view.SetConfig(); }
public PresenterAuthMOCK(IViewAuth view, IInteractorAuth interactor, IRouterAuth router, Action facebookCallLoginAction, Action googleCallLoginAction, Action vkCallLoginAction, Action okCallLoginAction, IAuthStylesHolder stylesHolder, IRegAuth authLocaleStrings) : base(view, interactor, router, facebookCallLoginAction, googleCallLoginAction, vkCallLoginAction, okCallLoginAction, stylesHolder, authLocaleStrings) { }