C# Class VSSonarQubeExtension.Helpers.VsConfigurationHelper

visual studio settings helper
Inheritance: IConfigurationHelper
ファイルを表示 Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method Description
ReadSetting ( Context context, string owner, string key ) : SonarQubeProperties

The write configuration.

ResetAllSettings ( ) : void

The delete settings file.

SyncSettings ( ) : void

The sync settings.

UserAppDataConfigurationFile ( ) : string

The get user app data configuration file.

UserLogForAnalysisFile ( ) : string

The user log for analysis file.

VsConfigurationHelper ( string vsVersion ) : System

Initializes a new instance of the VsConfigurationHelper class.

WriteOptionInApplicationData ( Context context, string owner, string key, string value, bool sync = false, bool skipIfExist = false ) : void

The write option in application data.

WriteSetting ( Context context, string owner, string key, string value, bool sync = false, bool skipIfExist = false ) : void
WriteSetting ( SonarQubeProperties prop, bool sync = false, bool skipIfExist = false ) : void

The write setting.

Private Methods

Method Description
GetBaseRegistry ( bool enableWrite ) : RegistryKey

Gets the base registry.

GetRegistryKey ( SonarQubeProperties prop ) : string

Gets the registry key.

Method Details

ReadSetting() public method

The write configuration.
public ReadSetting ( Context context, string owner, string key ) : SonarQubeProperties
context Context The context.
owner string The owner.
key string The key.
return SonarQubeProperties

ResetAllSettings() public method

The delete settings file.
public ResetAllSettings ( ) : void
return void

SyncSettings() public method

The sync settings.
public SyncSettings ( ) : void
return void

UserAppDataConfigurationFile() public method

The get user app data configuration file.
public UserAppDataConfigurationFile ( ) : string
return string

UserLogForAnalysisFile() public method

The user log for analysis file.
public UserLogForAnalysisFile ( ) : string
return string

VsConfigurationHelper() public method

Initializes a new instance of the VsConfigurationHelper class.
public VsConfigurationHelper ( string vsVersion ) : System
vsVersion string The vs version.
return System

WriteOptionInApplicationData() public method

The write option in application data.
public WriteOptionInApplicationData ( Context context, string owner, string key, string value, bool sync = false, bool skipIfExist = false ) : void
context Context The context.
owner string The owner.
key string The key.
value string The value.
sync bool The sync.
skipIfExist bool The skip if exist.
return void

WriteSetting() public method

public WriteSetting ( Context context, string owner, string key, string value, bool sync = false, bool skipIfExist = false ) : void
context Context
owner string
key string
value string
sync bool
skipIfExist bool
return void

WriteSetting() public method

The write setting.
public WriteSetting ( SonarQubeProperties prop, bool sync = false, bool skipIfExist = false ) : void
prop SonarQubeProperties The prop.
sync bool The sync.
skipIfExist bool The skip if exist.
return void