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

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

Private Properties

Свойство Тип Описание
InitCommanding void
InitModels void
OnApplyCommand void
OnCancelAndExitCommand void
OnResetAllChangesCommand void
OnSaveAndExitCommand void
UpdateTheme void

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

Метод Описание
AssociateWithNewProject ( Resource projectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

EstablishANewConnectionToServer ( ) : void

Establishes a new connection to server.

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.

InitPuginSystem ( IVsEnvironmentHelper helper, VSSonarPlugins.PluginController plugincontroller, INotificationManager manager ) : void

The init plugin system.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

RefreshDiagnostics ( ) : void

Refreshes the diagnostics.

ResetUserData ( ) : void

The reset user data.

UpdateColours ( Color background, Color foreground ) : void

The update colors.

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

The update services.

VSonarQubeOptionsViewModel ( ISonarRestService service, IConfigurationHelper configurationHelper, INotificationManager notifier ) : System

Initializes a new instance of the VSonarQubeOptionsViewModel class.

Защищенные методы

Метод Описание
OnRequestClose ( object arg1, object arg2 ) : void

The on request close.

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

Метод Описание
InitCommanding ( ) : void

The init commanding.

InitModels ( ) : void

The init models.

OnApplyCommand ( ) : void

The on apply command.

OnCancelAndExitCommand ( ) : void

The on cancel and exit command.

OnResetAllChangesCommand ( ) : void

The on reset all changes command.

OnSaveAndExitCommand ( ) : void

The on save and exit command.

UpdateTheme ( Color background, Color foreground ) : void

The update theme.

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

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

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

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

Establishes a new connection to server.
public EstablishANewConnectionToServer ( ) : void
Результат 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

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

The init plugin system.
public InitPuginSystem ( IVsEnvironmentHelper helper, VSSonarPlugins.PluginController plugincontroller, INotificationManager manager ) : void
helper IVsEnvironmentHelper The helper.
plugincontroller VSSonarPlugins.PluginController The plugin controller.
manager INotificationManager The manager.
Результат void

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

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

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

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

OnRequestClose() защищенный Метод

The on request close.
protected OnRequestClose ( object arg1, object arg2 ) : void
arg1 object The arg 1.
arg2 object The arg 2.
Результат void

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

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

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

Refreshes the diagnostics.
public RefreshDiagnostics ( ) : void
Результат void

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

The reset user data.
public ResetUserData ( ) : void
Результат void

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

The update colors.
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

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

Initializes a new instance of the VSonarQubeOptionsViewModel class.
public VSonarQubeOptionsViewModel ( ISonarRestService service, IConfigurationHelper configurationHelper, INotificationManager notifier ) : System
service ISonarRestService The service.
configurationHelper IConfigurationHelper The configuration helper.
notifier INotificationManager The notifier.
Результат System