C# Класс VSSonarExtensionUi.ViewModel.Configuration.AnalysisOptionsViewModel

Наследование: IOptionsViewModelBase, IOptionsModelBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefautValueSonarSources string
MinimumVersion string

Private Properties

Свойство Тип Описание
InstallTools void
OnDownloadWrapperCommand void
OnDownloadWrapperStartup void

Открытые методы

Метод Описание
AnalysisOptionsViewModel ( VSonarQubeOptionsViewModel viewModel, IConfigurationHelper configurationHelper ) : System

Initializes a new instance of the AnalysisOptionsViewModel class.

AssociateWithNewProject ( Resource project, string workDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

GetAvailableModel ( ) : object

Gets the available model, TODO: needs to be removed after view models are split into models and view models

GetViewModel ( ) : object

Gets the view model.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

ReloadDataFromDisk ( Resource associatedProjectIn ) : void

The refresh properties in view.

SaveData ( ) : void

Saves the data.

SetGeneralOptions ( ) : void

The set options.

UpdateColours ( Color background, Color foreground ) : void

The update colours.

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

The update services.

Приватные методы

Метод Описание
InstallTools ( string cxxwrapper ) : void

Installs the tools.

OnDownloadWrapperCommand ( ) : void

Called when [download wrapper command].

OnDownloadWrapperStartup ( ) : void

Called when [download wrapper command].

Описание методов

AnalysisOptionsViewModel() публичный Метод

Initializes a new instance of the AnalysisOptionsViewModel class.
public AnalysisOptionsViewModel ( VSonarQubeOptionsViewModel viewModel, IConfigurationHelper configurationHelper ) : System
viewModel VSonarQubeOptionsViewModel The view Model.
configurationHelper IConfigurationHelper The configuration helper.
Результат System

AssociateWithNewProject() публичный Метод

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workDir string The work dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary The profile.
visualStudioVersion string
Результат void

GetAvailableModel() публичный Метод

Gets the available model, TODO: needs to be removed after view models are split into models and view models
public GetAvailableModel ( ) : object
Результат object

GetViewModel() публичный Метод

Gets the view model.
public GetViewModel ( ) : object
Результат object

OnConnectToSonar() публичный Метод

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable The available projects.
issuePlugin IIssueTrackerPlugin The issue plugin.
Результат void

OnDisconnect() публичный Метод

Called when [disconnect].
public OnDisconnect ( ) : void
Результат void

OnSolutionClosed() публичный Метод

The end data association.
public OnSolutionClosed ( ) : void
Результат void

ReloadDataFromDisk() публичный Метод

The refresh properties in view.
public ReloadDataFromDisk ( Resource associatedProjectIn ) : void
associatedProjectIn Resource The associated project in.
Результат void

SaveData() публичный Метод

Saves the data.
public SaveData ( ) : void
Результат void

SetGeneralOptions() публичный Метод

The set options.
public SetGeneralOptions ( ) : void
Результат void

UpdateColours() публичный Метод

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
Результат void

UpdateServices() публичный Метод

The update services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vs environment helper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
Результат void

Описание свойств

DefautValueSonarSources публичное статическое свойство

The default value sonar sources.
public static string DefautValueSonarSources
Результат string

MinimumVersion публичное статическое свойство

The minimum version
public static string MinimumVersion
Результат string