C# Class VSSonarQubeExtension.Helpers.VsConfigurationHelper

visual studio settings helper
Inheritance: IConfigurationHelper
Afficher le fichier Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Méthodes publiques

Méthode 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

Méthode Description
GetBaseRegistry ( bool enableWrite ) : RegistryKey

Gets the base registry.

GetRegistryKey ( SonarQubeProperties prop ) : string

Gets the registry key.

Method Details

ReadSetting() public méthode

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

ResetAllSettings() public méthode

The delete settings file.
public ResetAllSettings ( ) : void
Résultat void

SyncSettings() public méthode

The sync settings.
public SyncSettings ( ) : void
Résultat void

UserAppDataConfigurationFile() public méthode

The get user app data configuration file.
public UserAppDataConfigurationFile ( ) : string
Résultat string

UserLogForAnalysisFile() public méthode

The user log for analysis file.
public UserLogForAnalysisFile ( ) : string
Résultat string

VsConfigurationHelper() public méthode

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

WriteOptionInApplicationData() public méthode

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.
Résultat void

WriteSetting() public méthode

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
Résultat void

WriteSetting() public méthode

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.
Résultat void