public HistoryController(ICommandBus commandBus, IAppProvider appProvider, IHistoryEventRepository historyEventRepository) : base(commandBus) { this.appProvider = appProvider; this.historyEventRepository = historyEventRepository; }
public HistoryService(IHistoryEventRepository repository, IEnumerable <IHistoryEventsCreator> creators) { Guard.NotNull(repository); Guard.NotNull(creators); this.creators = creators.ToList(); foreach (var creator in this.creators) { foreach (var text in creator.Texts) { texts[text.Key] = text.Value; } } this.repository = repository; }
public HistoryService(IHistoryEventRepository repository, IEnumerable <IHistoryEventsCreator> creators) { Guard.NotNull(repository, nameof(repository)); Guard.NotNull(creators, nameof(creators)); this.creators = creators.ToList(); foreach (var creator in this.creators) { foreach (var(key, value) in creator.Texts) { texts[key] = value; } } this.repository = repository; }
public HistoryController(ICommandBus commandBus, IHistoryEventRepository historyEventRepository) : base(commandBus) { this.historyEventRepository = historyEventRepository; }
public HistoryEventServiceClass(IHistoryEventRepository historyEventRepository, IPersonEventRelationRepository personEventRelationRepository) { this.historyEventRepository = historyEventRepository; this.personEventRelationRepository = personEventRelationRepository; }
public CumulativeFlowDiagramHelper(ITaskItemRepository taskItemRepository, IHistoryEventRepository historyEventRepository) { this.taskItemRepository = taskItemRepository; this.historyEventRepository = historyEventRepository; }
public CumulativeFlowDiagramHelper() { taskItemRepository = new TaskItemRepository(); historyEventRepository = new HistoryEventRepository(); }