C# Class VSSonarExtensionUi.Model.Helpers.ConfigurationHelper

The configuration helper.
Inheritance: IConfigurationHelper
Afficher le fichier Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Méthodes publiques

Méthode Description
ClearNonSavedSettings ( ) : void

Clears the non saved settings.

ConfigurationHelper ( string vsversion, INotificationManager manager ) : System

Initializes a new instance of the ConfigurationHelper class.

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

Reads the setting.

ReadSettings ( Context context, string owner ) : IEnumerable

Reads the settings.

ResetAllSettings ( ) : void

Deletes the settings file.

SyncSettings ( ) : void

Synchronizes the settings.

UserAppDataConfigurationFile ( ) : string

The get user app data configuration file.

UserLogForAnalysisFile ( ) : string

The get user app data configuration file.

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

The write setting.

WriteSetting ( SonarQubeProperties prop, bool sync, bool skipifexist = false ) : void

Writes the setting.

Method Details

ClearNonSavedSettings() public méthode

Clears the non saved settings.
public ClearNonSavedSettings ( ) : void
Résultat void

ConfigurationHelper() public méthode

Initializes a new instance of the ConfigurationHelper class.
public ConfigurationHelper ( string vsversion, INotificationManager manager ) : System
vsversion string The vsversion.
manager INotificationManager The manager.
Résultat System

ReadSetting() public méthode

Reads the setting.
/// Property not found: + key /// or /// Property not found: + key ///
public ReadSetting ( Context context, string owner, string key ) : SonarQubeProperties
context Context The context.
owner string The owner.
key string The key.
Résultat SonarQubeProperties

ReadSettings() public méthode

Reads the settings.
public ReadSettings ( Context context, string owner ) : IEnumerable
context Context The context.
owner string The owner.
Résultat IEnumerable

ResetAllSettings() public méthode

Deletes the settings file.
public ResetAllSettings ( ) : void
Résultat void

SyncSettings() public méthode

Synchronizes the 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 get user app data configuration file.
public UserLogForAnalysisFile ( ) : string
Résultat string

WriteSetting() public méthode

The write setting.
public WriteSetting ( 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

Writes the setting.
public WriteSetting ( SonarQubeProperties prop, bool sync, bool skipifexist = false ) : void
prop SonarQubeProperties The property.
sync bool if set to true [synchronize].
skipifexist bool if set to true [skipifexist].
Résultat void