public LoginCommand(LoginViewModel source, IFlowdockContext context) { _source = source.ThrowIfNull("source"); _context = context.ThrowIfNull("context"); _source.PropertyChanged += OnSourcePropertyChanged; }
public void BeforeEach() { _flowdockContext = new FlowdockContextMoqaLate(); _loginViewModel = new LoginViewModel(_flowdockContext, new AppSettingsMoqaLate(), new NavigationManagerMoqaLate()); _command = new LoginCommand(_loginViewModel, _flowdockContext); }
public void BeforeEach() { _appSettings = new AppSettingsMoqaLate(); _viewModel = new LoginViewModel(new FlowdockContextMoqaLate(), _appSettings, new NavigationManagerMoqaLate()); }