Пример #1
0
        public IssuesViewModel(ILogSourceIssueAnalyser analyser,
                               INavigationService navigationService)
        {
            _allIssues         = new List <IssueViewModel>();
            _filteredIssues    = new ObservableCollection <IssueViewModel>();
            _viewModelsByIssue = new Dictionary <ILogSourceIssue, IssueViewModel>();

            _showCritical = true;
            _showMajor    = true;
            _showMinor    = true;

            _analyser          = analyser;
            _navigationService = navigationService;
            _analyser.AddListener(this);
            _analyser.Start();
        }
 public NoThrowLogSourceIssueAnalyser(ILogSourceIssueAnalyser inner)
 {
     _inner = inner;
 }