Ejemplo n.º 1
0
 public SelectedIssueLocationTaggerProvider(IBufferTagAggregatorFactoryService bufferTagAggregatorFactoryService,
                                            IAnalysisIssueSelectionService issueSelectionService,
                                            ITaggableBufferIndicator taggableBufferIndicator)
 {
     this.bufferTagAggregatorFactoryService = bufferTagAggregatorFactoryService;
     this.issueSelectionService             = issueSelectionService;
     this.taggableBufferIndicator           = taggableBufferIndicator;
 }
Ejemplo n.º 2
0
        public IssueVisualizationViewModel(IAnalysisIssueSelectionService selectionService,
                                           ILocationNavigator locationNavigator,
                                           IFileNameLocationListItemCreator fileNameLocationListItemCreator,
                                           INavigateToCodeLocationCommand navigateToCodeLocationCommand,
                                           INavigateToRuleDescriptionCommand navigateToRuleDescriptionCommand,
                                           INavigateToDocumentationCommand navigateToDocumentationCommand)
        {
            this.selectionService  = selectionService;
            this.locationNavigator = locationNavigator;
            this.fileNameLocationListItemCreator = fileNameLocationListItemCreator;

            NavigateToCodeLocationCommand    = navigateToCodeLocationCommand;
            NavigateToRuleDescriptionCommand = navigateToRuleDescriptionCommand;
            NavigateToDocumentationCommand   = navigateToDocumentationCommand;

            selectionService.SelectionChanged += SelectionEvents_OnSelectionChanged;

            UpdateState(SelectionChangeLevel.Issue,
                        selectionService.SelectedIssue,
                        selectionService.SelectedFlow,
                        selectionService.SelectedLocation);
        }
 public SelectedIssueLocationTagger(ITagAggregator <IIssueLocationTag> tagAggregator, ITextBuffer textBuffer, IAnalysisIssueSelectionService issueSelectionService)
     : base(tagAggregator, textBuffer)
 {
     this.issueSelectionService              = issueSelectionService;
     issueSelectionService.SelectionChanged += OnSelectionChanged;
 }
 public IssueFlowStepNavigator(IAnalysisIssueSelectionService selectionService, ILocationNavigator locationNavigator)
 {
     this.selectionService  = selectionService;
     this.locationNavigator = locationNavigator;
 }