Ejemplo n.º 1
0
		public LoginCommand(LoginViewModel source, IFlowdockContext context) {
			_source = source.ThrowIfNull("source");
			_context = context.ThrowIfNull("context");

			_source.PropertyChanged += OnSourcePropertyChanged;
		}
Ejemplo n.º 2
0
		public void BeforeEach() {
			_flowdockContext = new FlowdockContextMoqaLate();
			_loginViewModel = new LoginViewModel(_flowdockContext, new AppSettingsMoqaLate(), new NavigationManagerMoqaLate());
			_command = new LoginCommand(_loginViewModel, _flowdockContext);
		}
Ejemplo n.º 3
0
		public void BeforeEach() {
			_appSettings = new AppSettingsMoqaLate();
			_viewModel = new LoginViewModel(new FlowdockContextMoqaLate(), _appSettings, new NavigationManagerMoqaLate());
		}