C# Class VSSonarExtensionUi.Model.Helpers.ConfigurationHelper

The configuration helper.
Inheritance: IConfigurationHelper
Exibir arquivo Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method 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 method

Clears the non saved settings.
public ClearNonSavedSettings ( ) : void
return void

ConfigurationHelper() public method

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

ReadSetting() public method

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.
return SonarQubeProperties

ReadSettings() public method

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

ResetAllSettings() public method

Deletes the settings file.
public ResetAllSettings ( ) : void
return void

SyncSettings() public method

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

WriteSetting() public method

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.
return void

WriteSetting() public method

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].
return void