public StateFiltering(ITasksSourceJiraCacheAdapter jiraCacheAdapter, IStatesRepository statesRepository)
        {
            _jiraCache        = jiraCacheAdapter;
            _statesRepository = statesRepository;

            AvailableStates = new ObservableCollection <string>();
            FilteredStates  = new ObservableCollection <string>();
            ResetStates     = new ObservableCollection <string>();
        }
Exemple #2
0
        public TasksSource(ITasksSourceJiraCacheAdapter jiraCacheAdapter)
        {
            _jiraCache = jiraCacheAdapter;

            var config = new MapperConfiguration(cfg =>
            {
                cfg.CreateMap <CachedIssue, AnalyzedIssue>();
            });

            _mapper = config.CreateMapper();
        }
Exemple #3
0
 public StateFilteringProvider(ITasksSourceJiraCacheAdapter jiraCacheAdapter, IStatesRepository statesRepository)
 {
     _stateFiltering = new StateFiltering(jiraCacheAdapter, statesRepository);
 }