Example #1
0
 private MiscellaneousDiagnosticListTable(
     SVsServiceProvider serviceProvider, Workspace workspace, IDiagnosticService diagnosticService, ITableManagerProvider provider) :
     base(serviceProvider, workspace, diagnosticService, provider)
 {
     _source = new LiveTableDataSource(serviceProvider, workspace, diagnosticService, IdentifierString);
     AddInitialTableSource(workspace.CurrentSolution, _source);
 }
            public VisualStudioDiagnosticListTable(
                VisualStudioWorkspaceImpl workspace,
                IDiagnosticService diagnosticService,
                ITableManagerProvider provider,
                IErrorList errorList
                ) : base(workspace, provider)
            {
                _errorList = errorList;

                _liveTableSource = new LiveTableDataSource(
                    workspace,
                    diagnosticService,
                    IdentifierString,
                    workspace.ExternalErrorDiagnosticUpdateSource
                    );
                _buildTableSource = new BuildTableDataSource(
                    workspace,
                    workspace.ExternalErrorDiagnosticUpdateSource
                    );

                AddInitialTableSource(Workspace.CurrentSolution, GetCurrentDataSource());
                ConnectWorkspaceEvents();

                _errorList.PropertyChanged += OnErrorListPropertyChanged;
            }
            public MiscellaneousDiagnosticListTable(Workspace workspace, IDiagnosticService diagnosticService, ITableManagerProvider provider) :
                base(workspace, provider)
            {
                _source = new LiveTableDataSource(workspace, diagnosticService, IdentifierString);

                AddInitialTableSource(workspace.CurrentSolution, _source);
                ConnectWorkspaceEvents();
            }
 public TableEntriesSource(LiveTableDataSource source, Workspace workspace, ProjectId projectId, DocumentId documentId, object id)
 {
     _source     = source;
     _workspace  = workspace;
     _projectId  = projectId;
     _documentId = documentId;
     _id         = id;
     _buildTool  = (id as BuildToolId)?.BuildTool ?? string.Empty;
 }
Example #5
0
            /// this is for test only
            private VisualStudioDiagnosticListTable(Workspace workspace, IThreadingContext threadingContext, ExternalErrorDiagnosticUpdateSource errorSource, ITableManagerProvider provider)
                : base(workspace, provider)
            {
                _liveTableSource  = null !;
                _buildTableSource = null !;
                _errorList        = null !;

                AddInitialTableSource(workspace.CurrentSolution, new BuildTableDataSource(workspace, threadingContext, errorSource));
            }
Example #6
0
            /// this is for test only
            private VisualStudioDiagnosticListTable(Workspace workspace, IThreadingContext threadingContext, IDiagnosticService diagnosticService, ITableManagerProvider provider)
                : base(workspace, provider)
            {
                _liveTableSource  = null !;
                _buildTableSource = null !;
                _errorList        = null !;

                AddInitialTableSource(workspace.CurrentSolution, new LiveTableDataSource(workspace, threadingContext, diagnosticService, IdentifierString));
            }
        public RemoteDiagnosticListTable(
            SVsServiceProvider serviceProvider, RemoteLanguageServiceWorkspace workspace, IDiagnosticService diagnosticService, ITableManagerProvider provider) :
            base(workspace, provider)
        {
            _source = new LiveTableDataSource(workspace, diagnosticService, IdentifierString);
            AddInitialTableSource(workspace.CurrentSolution, _source);

            ConnectWorkspaceEvents();
        }
 public TableEntriesSource(LiveTableDataSource source, Workspace workspace, IGlobalOptionService globalOptions, ProjectId?projectId, DocumentId?documentId, object id)
 {
     _source        = source;
     _workspace     = workspace;
     _globalOptions = globalOptions;
     _projectId     = projectId;
     _documentId    = documentId;
     _id            = id;
     _buildTool     = (id as BuildToolId)?.BuildTool ?? string.Empty;
 }
 private VisualStudioDiagnosticListTable(
     Workspace workspace,
     IDiagnosticService diagnosticService,
     ExternalErrorDiagnosticUpdateSource errorSource,
     ITableManagerProvider provider) :
     base(workspace, diagnosticService, provider)
 {
     _liveTableSource = new LiveTableDataSource(workspace, diagnosticService, IdentifierString);
     _buildTableSource = new BuildTableDataSource(workspace, errorSource);
 }
 private VisualStudioDiagnosticListTable(
     SVsServiceProvider serviceProvider,
     Workspace workspace,
     IDiagnosticService diagnosticService,
     ExternalErrorDiagnosticUpdateSource errorSource,
     ITableManagerProvider provider) :
     base(serviceProvider, workspace, diagnosticService, provider)
 {
     _liveTableSource = new LiveTableDataSource(serviceProvider, workspace, diagnosticService, IdentifierString);
     _buildTableSource = new BuildTableDataSource(workspace, errorSource);
 }
Example #11
0
 private RemoteDiagnosticListTable(Workspace workspace, IDiagnosticService diagnosticService, ITableManagerProvider provider)
     : base(workspace, provider)
 {
     _source = new LiveTableDataSource(workspace, diagnosticService, IdentifierString);
     AddInitialTableSource(workspace.CurrentSolution, _source);
 }