C# Class SonarLint.VisualStudio.Integration.Binding.BindingWorkflow

Workflow execution for the bind command
ファイルを表示 Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Property Type Description
AbortWorkflow void
CreateWorkflowSteps SonarLint.VisualStudio.Progress.Controller.ProgressStepDefinition[]
DebugOnly_MonitorProgress void
DiscoverProjects void
DownloadQualityProfile void
EmitBindingCompleteMessage void
FinishSolutionBindingOnUIThread void
GetBindingLanguages IEnumerable
InformAboutFilteredOutProjects void
InformAboutQualityProfileToDownload void
InitializeSolutionBindingOnUIThread void
InstallPackages void
PrepareSolutionBinding void
PromptSaveSolutionIfDirty void
SilentSaveSolutionIfDirty void
UpdateDownloadedSonarQubeQualityProfile void

Public Methods

Method Description
BindingWorkflow ( IHost host, ConnectionInformation connectionInformation, ProjectInformation project ) : EnvDTE
Run ( ) : IProgressEvents

Private Methods

Method Description
AbortWorkflow ( IProgressController controller, CancellationToken token ) : void
CreateWorkflowSteps ( IProgressController controller ) : SonarLint.VisualStudio.Progress.Controller.ProgressStepDefinition[]
DebugOnly_MonitorProgress ( IProgressEvents progress ) : void
DiscoverProjects ( IProgressController controller, IProgressStepExecutionEvents notifications ) : void
DownloadQualityProfile ( IProgressController controller, CancellationToken cancellationToken, IProgressStepExecutionEvents notificationEvents, IEnumerable languages ) : void
EmitBindingCompleteMessage ( IProgressStepExecutionEvents notifications ) : void
FinishSolutionBindingOnUIThread ( IProgressController controller, CancellationToken token ) : void
GetBindingLanguages ( ) : IEnumerable
InformAboutFilteredOutProjects ( ) : void
InformAboutQualityProfileToDownload ( string profileName, string profileKey, string languageName, bool isDownloadFailed ) : void
InitializeSolutionBindingOnUIThread ( IProgressStepExecutionEvents notificationEvents ) : void
InstallPackages ( IProgressController controller, CancellationToken token, IProgressStepExecutionEvents notificationEvents ) : void

Will install the NuGet packages for the current managed projects. The packages that will be installed will be based on the information from Analyzer.GetRequiredNuGetPackages and is specific to the RuleSet.

PrepareSolutionBinding ( CancellationToken token ) : void
PromptSaveSolutionIfDirty ( IProgressController controller, CancellationToken token ) : void
SilentSaveSolutionIfDirty ( ) : void
UpdateDownloadedSonarQubeQualityProfile ( RuleSet ruleSet, SonarLint.VisualStudio.Integration.Service.QualityProfile qualityProfile ) : void

Method Details

BindingWorkflow() public method

public BindingWorkflow ( IHost host, ConnectionInformation connectionInformation, ProjectInformation project ) : EnvDTE
host IHost
connectionInformation SonarLint.VisualStudio.Integration.Service.ConnectionInformation
project SonarLint.VisualStudio.Integration.Service.ProjectInformation
return EnvDTE

Run() public method

public Run ( ) : IProgressEvents
return IProgressEvents