public SelectedVisualizationValidityMonitor(IIssueSelectionService selectionService, IIssueLocationStoreAggregator locationStoreAggregator) { this.selectionService = selectionService; this.locationStoreAggregator = locationStoreAggregator; locationStoreAggregator.IssuesChanged += LocationStoreAggregator_IssuesChanged; }
public LocationTaggerProvider(IIssueLocationStoreAggregator locationStore, IIssueSpanCalculator spanCalculator, ITaggableBufferIndicator taggableBufferIndicator, ILogger logger) { this.locationStore = locationStore; this.spanCalculator = spanCalculator; this.taggableBufferIndicator = taggableBufferIndicator; this.logger = logger; }
private SelectedVisualizationValidityMonitor CreateTestSubject(IIssueLocationStoreAggregator storeAggregator, IIssueSelectionService selectionService = null) { selectionService ??= Mock.Of <IIssueSelectionService>(); return(new SelectedVisualizationValidityMonitor(selectionService, storeAggregator)); }