public UpdateStatusModelDecorator( [NotNull] IConfigFilenameProvider decoratee, [NotNull] IStatusFullModel statusModel) { Guard.NotNull(decoratee, nameof(decoratee)); Guard.NotNull(statusModel, nameof(statusModel)); this.decoratee = decoratee; this.statusModel = statusModel; }
public UpdateDelayStatusModelDecorator( [NotNull] IDelayService decoratee, [NotNull] IStatusFullModel statusModel) { Guard.NotNull(decoratee, nameof(decoratee)); Guard.NotNull(statusModel, nameof(statusModel)); this.decoratee = decoratee; this.statusModel = statusModel; }
public ProjectCollectionViewModel( [NotNull] IProjectViewModelFactory projectViewModelFactory, [NotNull] IStatusFullModel statusModel, [NotNull] IFileSearch fileSearch, [NotNull] IConfigurationService configurationService, [NotNull] IDelayService delayService) { Guard.NotNull(statusModel, nameof(statusModel)); Guard.NotNull(projectViewModelFactory, nameof(projectViewModelFactory)); Guard.NotNull(fileSearch, nameof(fileSearch)); Guard.NotNull(configurationService, nameof(configurationService)); Guard.NotNull(delayService, nameof(delayService)); this.statusModel = statusModel; this.projectViewModelFactory = projectViewModelFactory; this.fileSearch = fileSearch; this.configurationService = configurationService; this.delayService = delayService; Projects = new ObservableCollection <ProjectViewModel>(); Initialize = new CapturingExceptionAsyncCommand(async _ => await LoadProjectsAsync()); }
public StatusModelLogDecorator([NotNull] IStatusFullModel decoratee) { Guard.NotNull(decoratee, nameof(decoratee)); this.decoratee = decoratee; }