C# 클래스 VSSonarExtensionUi.ViewModel.Configuration.AnalysisOptionsViewModel

상속: IOptionsViewModelBase, IOptionsModelBase
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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