C# Class SonarLint.VisualStudio.Integration.ErrorListInfoBarController.QualityProfileBackgroundProcessor

The class is responsible for quality profile related checks in determining whether to suggest the user to update his solution with the rule set.
Inheritance: IDisposable
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Private Properties

Property Type Description
HasProfileChanged bool
IsUpdateRequired bool
TryGetLatestProfiles bool

Public Methods

Method Description
Dispose ( ) : void
QualityProfileBackgroundProcessor ( IHost host ) : EnvDTE
QueueCheckIfUpdateIsRequired ( Action updateAction ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
HasProfileChanged ( SonarLint.VisualStudio.Integration.Service.QualityProfile newProfileInfo, ApplicableQualityProfile oldProfileInfo ) : bool
IsUpdateRequired ( BoundSonarQubeProject binding, IEnumerable projectLanguages, CancellationToken token ) : bool
TryGetLatestProfiles ( BoundSonarQubeProject binding, IEnumerable projectLanguages, CancellationToken token, ConnectionInformation connection, QualityProfile>.Dictionary &newProfiles ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

QualityProfileBackgroundProcessor() public method

public QualityProfileBackgroundProcessor ( IHost host ) : EnvDTE
host IHost
return EnvDTE

QueueCheckIfUpdateIsRequired() public method

public QueueCheckIfUpdateIsRequired ( Action updateAction ) : void
updateAction Action
return void