Exemple #1
0
        public CrawlData(IDataNotifier dataNotifier, Uri rootUrl,
                         SejmCrawlerOptions options)
        {
            Require.NotNull(dataNotifier, nameof(dataNotifier));
            Require.NotNull(rootUrl, nameof(rootUrl));
            Require.NotNull(options, nameof(options));

            DataNotifier = dataNotifier;
            RootUrl      = rootUrl;
            Options      = options;
        }
        public CreateIssueViewModel(
            IYouTrackClientService youTrackClientService,
            IPageNavigationService <IYouTrackIssuesWindow> pageNavigationService,
            IEventAggregatorService eventAggregator,
            IUserInformationService userInfoService,
            ICommandsService commandsService,
            IDataNotifier dataNotifier,
            IPullRequestDiffViewModel pullRequestDiffViewModel
            )
        {
            _youTrackClientService = youTrackClientService;

            _pageNavigationService = pageNavigationService;
            _eventAggregator       = eventAggregator;

            _dataNotifier = dataNotifier;

            PullRequestDiffViewModel = pullRequestDiffViewModel;

            _userInfoService  = userInfoService;
            SelectedReviewers = new ReactiveList <GitUser>();
        }