Beispiel #1
0
 public DiagnosticItem(AnalyzerItem analyzerItem, DiagnosticDescriptor descriptor, ReportDiagnostic effectiveSeverity)
     : base(string.Format("{0}: {1}", descriptor.Id, descriptor.Title))
 {
     _analyzerItem      = analyzerItem;
     _descriptor        = descriptor;
     _effectiveSeverity = effectiveSeverity;
 }
Beispiel #2
0
        public LegacyDiagnosticItem(AnalyzerItem analyzerItem, DiagnosticDescriptor descriptor, ReportDiagnostic effectiveSeverity, IContextMenuController contextMenuController)
            : base(descriptor, effectiveSeverity)
        {
            _analyzerItem = analyzerItem;

            _contextMenuController = contextMenuController;
        }
Beispiel #3
0
 public DiagnosticItem(AnalyzerItem analyzerItem, DiagnosticDescriptor descriptor, ReportDiagnostic effectiveSeverity)
     : base(string.Format("{0}: {1}", descriptor.Id, descriptor.Title))
 {
     _analyzerItem = analyzerItem;
     _descriptor = descriptor;
     _effectiveSeverity = effectiveSeverity;
 }
Beispiel #4
0
 public DiagnosticItem(AnalyzerItem analyzerItem, DiagnosticDescriptor descriptor, ReportDiagnostic effectiveSeverity, IContextMenuController contextMenuController)
     : base(string.Format("{0}: {1}", descriptor.Id, descriptor.Title))
 {
     _analyzerItem          = analyzerItem;
     _descriptor            = descriptor;
     _effectiveSeverity     = effectiveSeverity;
     _contextMenuController = contextMenuController;
 }
Beispiel #5
0
 public DiagnosticItem(AnalyzerItem analyzerItem, DiagnosticDescriptor descriptor, ReportDiagnostic effectiveSeverity, IContextMenuController contextMenuController)
     : base(string.Format("{0}: {1}", descriptor.Id, descriptor.Title))
 {
     _analyzerItem = analyzerItem;
     _descriptor = descriptor;
     _effectiveSeverity = effectiveSeverity;
     _contextMenuController = contextMenuController;
 }
 public LegacyDiagnosticItemSource(
     AnalyzerItem item,
     IAnalyzersCommandHandler commandHandler,
     IDiagnosticAnalyzerService diagnosticAnalyzerService
     )
     : base(
         item.AnalyzersFolder.Workspace,
         item.AnalyzersFolder.ProjectId,
         commandHandler,
         diagnosticAnalyzerService
         )
 {
     _item = item;
 }
 public DiagnosticItemSource(AnalyzerItem item)
 {
     _item = item;
 }
Beispiel #8
0
 public BrowseObject(AnalyzerItem analyzerItem)
 {
     _analyzerItem = analyzerItem;
 }
Beispiel #9
0
 public DiagnosticItemSource(AnalyzerItem item)
 {
     _item = item;
 }
 public DiagnosticItemSource(AnalyzerItem item, IAnalyzersCommandHandler commandHandler, IDiagnosticAnalyzerService diagnosticAnalyzerService)
 {
     _item                      = item;
     _commandHandler            = commandHandler;
     _diagnosticAnalyzerService = diagnosticAnalyzerService;
 }
 public BrowseObject(AnalyzerItem analyzerItem)
 {
     _analyzerItem = analyzerItem;
 }
 public DiagnosticItemSource(AnalyzerItem item, IAnalyzersCommandHandler commandHandler, IDiagnosticAnalyzerService diagnosticAnalyzerService)
 {
     _item = item;
     _commandHandler = commandHandler;
     _diagnosticAnalyzerService = diagnosticAnalyzerService;
 }