public StateFiltering(ITasksSourceJiraCacheAdapter jiraCacheAdapter, IStatesRepository statesRepository) { _jiraCache = jiraCacheAdapter; _statesRepository = statesRepository; AvailableStates = new ObservableCollection <string>(); FilteredStates = new ObservableCollection <string>(); ResetStates = new ObservableCollection <string>(); }
public TasksSource(ITasksSourceJiraCacheAdapter jiraCacheAdapter) { _jiraCache = jiraCacheAdapter; var config = new MapperConfiguration(cfg => { cfg.CreateMap <CachedIssue, AnalyzedIssue>(); }); _mapper = config.CreateMapper(); }
public StateFilteringProvider(ITasksSourceJiraCacheAdapter jiraCacheAdapter, IStatesRepository statesRepository) { _stateFiltering = new StateFiltering(jiraCacheAdapter, statesRepository); }