Esempio n. 1
0
        public CINotifierViewModel(CIViewModel ciViewModel)
        {
            this.ciViewModel = ciViewModel;

            FindOverallStatus();
            AddStatusListeners();
        }
Esempio n. 2
0
 public void should_be_a_BindableViewModel_of_type_ProjectInfoViewModel()
 {
     var vm = new CIViewModel();
     vm.ShouldBeInstanceOfType<BindableViewModel<ProjectInfoViewModel>>();
 }
Esempio n. 3
0
 private static void CreateController()
 {
     var viewModel = new CIViewModel();
     var settingsViewModel = new CISettingsViewModel();
 	settingsViewModel.ConfigureDependencies(config =>
 	{
 		config.Bind<IUIInvoker>().To<NoUIInvokation>();
 	});
     controller = new CIController(viewModel, 
                                   settingsViewModel,
                                   UserRepoMock.Object,
                                   RepositoryMock.Object,
                                   configRepoMock.Object,
                                   configPersisterMock.Object,
                                   new NoBackgroundWorkerInvocation<IEnumerable<CIProject>>(),
                                   timermock.Object,
                                   new NoUIInvokation(),
                                   new Mock<ILog>().Object,
                                   progressbarMock.Object);
 }