C# Class VSSonarExtensionUi.Model.Analysis.IssuesSearchModel

Search model for issues, viewmodel IssuesSearchViewModel
Inheritance: IAnalysisModelBase, IModelBase
Afficher le fichier Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Méthodes publiques

Méthode Description
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModelIn, Profile>.Dictionary profile, string visualStudioVersion ) : void

The init data association.

ClearIssues ( ) : void

Clears the issues.

GetAllIssuesInProject ( ) : IEnumerable

Gets all issues in project.

GetCurrentUserIssues ( ) : IEnumerable

Gets the current user issues.

GetCurrentUserIssuesInProject ( ) : IEnumerable

Gets the user issues in project.

GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List

The get issues for resource.

GetIssuesSinceLastProjectDate ( ) : IEnumerable

Gets the issues since last project date.

GetIssuesSinceSinceDate ( System.DateTime date ) : IEnumerable

Gets the issues since since date.

GetIssuesUsingFilter ( string filter, bool filterSSCM, bool componentsSet ) : IEnumerable

The retrieve issues using current filter.

GetUserIssues ( string userName ) : IEnumerable

Gets the user issues in project.

GetUserIssuesInProject ( string userName ) : IEnumerable

Gets the user issues in project.

GetViewModel ( ) : object

Gets the view model.

IssuesSearchModel ( IConfigurationHelper configurationHelper, ISonarRestService restService, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System

Initializes a new instance of the IssuesSearchModel class.

OnAnalysisModeHasChange ( EventArgs e ) : void

The on changed.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjectsIn, IIssueTrackerPlugin sourcePlugin ) : void

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

RefreshDataForResource ( Resource fullName, string documentInView, string content, bool fromSource ) : void

The refresh data for resource.

ResetStats ( ) : void

Reset Stats.

TriggerAProjectAnalysis ( VsProjectItem project ) : void

The trigger a project analysis.

UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void

The update services.

Private Methods

Méthode Description
CancelQuery ( ) : void

Cancels the query.

FilterIssuesBySSCM ( List issues ) : IEnumerable

Filters the issues by SSCM.

FilterIssuesBySSCM ( Issue issue ) : Issue

Filters the issues by SSCM.

Method Details

AssociateWithNewProject() public méthode

The init data association.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModelIn, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workingDir string The working dir.
sourceModelIn ISourceControlProvider The source model in.
profile Profile>.Dictionary The profile.
visualStudioVersion string
Résultat void

ClearIssues() public méthode

Clears the issues.
public ClearIssues ( ) : void
Résultat void

GetAllIssuesInProject() public méthode

Gets all issues in project.
public GetAllIssuesInProject ( ) : IEnumerable
Résultat IEnumerable

GetCurrentUserIssues() public méthode

Gets the current user issues.
public GetCurrentUserIssues ( ) : IEnumerable
Résultat IEnumerable

GetCurrentUserIssuesInProject() public méthode

Gets the user issues in project.
public GetCurrentUserIssuesInProject ( ) : IEnumerable
Résultat IEnumerable

GetIssuesForResource() public méthode

The get issues for resource.
public GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List
file Resource The file.
fileContent string The file content.
shownfalseandresolved bool The shown false and resolved.
Résultat List

GetIssuesSinceLastProjectDate() public méthode

Gets the issues since last project date.
public GetIssuesSinceLastProjectDate ( ) : IEnumerable
Résultat IEnumerable

GetIssuesSinceSinceDate() public méthode

Gets the issues since since date.
public GetIssuesSinceSinceDate ( System.DateTime date ) : IEnumerable
date System.DateTime The date.
Résultat IEnumerable

GetIssuesUsingFilter() public méthode

The retrieve issues using current filter.
public GetIssuesUsingFilter ( string filter, bool filterSSCM, bool componentsSet ) : IEnumerable
filter string The filter.
filterSSCM bool if set to true [filter SSCM].
componentsSet bool if set to true [components set].
Résultat IEnumerable

GetUserIssues() public méthode

Gets the user issues in project.
public GetUserIssues ( string userName ) : IEnumerable
userName string Name of the user.
Résultat IEnumerable

GetUserIssuesInProject() public méthode

Gets the user issues in project.
public GetUserIssuesInProject ( string userName ) : IEnumerable
userName string Name of the user.
Résultat IEnumerable

GetViewModel() public méthode

Gets the view model.
public GetViewModel ( ) : object
Résultat object

IssuesSearchModel() public méthode

Initializes a new instance of the IssuesSearchModel class.
public IssuesSearchModel ( IConfigurationHelper configurationHelper, ISonarRestService restService, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System
configurationHelper IConfigurationHelper The configuration helper.
restService ISonarRestService The rest service.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
analyser ISonarLocalAnalyser The analyser.
Résultat System

OnAnalysisModeHasChange() public méthode

The on changed.
public OnAnalysisModeHasChange ( EventArgs e ) : void
e System.EventArgs /// The e. ///
Résultat void

OnConnectToSonar() public méthode

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjectsIn, IIssueTrackerPlugin sourcePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjectsIn IEnumerable The available projects in.
sourcePlugin IIssueTrackerPlugin
Résultat void

OnDisconnect() public méthode

Called when [disconnect].
public OnDisconnect ( ) : void
Résultat void

OnSolutionClosed() public méthode

The end data association.
public OnSolutionClosed ( ) : void
Résultat void

RefreshDataForResource() public méthode

The refresh data for resource.
public RefreshDataForResource ( Resource fullName, string documentInView, string content, bool fromSource ) : void
fullName Resource /// The full name. ///
documentInView string /// The document in view. ///
content string
fromSource bool
Résultat void

ResetStats() public méthode

Reset Stats.
public ResetStats ( ) : void
Résultat void

TriggerAProjectAnalysis() public méthode

The trigger a project analysis.
public TriggerAProjectAnalysis ( VsProjectItem project ) : void
project VsProjectItem The project.
Résultat void

UpdateServices() public méthode

The update services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vsenvironmenthelper in.
statusBarIn IVSSStatusBar The status bar in.
provider IServiceProvider The provider.
Résultat void