C# Класс VSSonarExtensionUi.Model.Helpers.ConfigurationHelper

The configuration helper.
Наследование: IConfigurationHelper
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ClearNonSavedSettings() публичный Метод

Clears the non saved settings.
public ClearNonSavedSettings ( ) : void
Результат void

ConfigurationHelper() публичный Метод

Initializes a new instance of the ConfigurationHelper class.
public ConfigurationHelper ( string vsversion, INotificationManager manager ) : System
vsversion string The vsversion.
manager INotificationManager The manager.
Результат System

ReadSetting() публичный Метод

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.
Результат SonarQubeProperties

ReadSettings() публичный Метод

Reads the settings.
public ReadSettings ( Context context, string owner ) : IEnumerable
context Context The context.
owner string The owner.
Результат IEnumerable

ResetAllSettings() публичный Метод

Deletes the settings file.
public ResetAllSettings ( ) : void
Результат void

SyncSettings() публичный Метод

Synchronizes the settings.
public SyncSettings ( ) : void
Результат void

UserAppDataConfigurationFile() публичный Метод

The get user app data configuration file.
public UserAppDataConfigurationFile ( ) : string
Результат string

UserLogForAnalysisFile() публичный Метод

The get user app data configuration file.
public UserLogForAnalysisFile ( ) : string
Результат string

WriteSetting() публичный Метод

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.
Результат void

WriteSetting() публичный Метод

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].
Результат void