public CINotifierViewModel(CIViewModel ciViewModel) { this.ciViewModel = ciViewModel; FindOverallStatus(); AddStatusListeners(); }
public void should_be_a_BindableViewModel_of_type_ProjectInfoViewModel() { var vm = new CIViewModel(); vm.ShouldBeInstanceOfType<BindableViewModel<ProjectInfoViewModel>>(); }
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); }