C# Class Orc.NuGetExplorer.NuGetSettings

Inheritance: ISettings
Datei anzeigen Open project: WildGums/Orc.NuGetExplorer

Public Methods

Method Description
DeleteSection ( string section ) : bool
DeleteValue ( string section, string key ) : bool
GetNestedValues ( string section, string subsection ) : IList
GetValue ( string section, string key, bool isPath ) : string
GetValues ( string section, bool isPath ) : IList
NuGetSettings ( IConfigurationService configurationService ) : System
SetNestedValues ( string section, string key, string>.IList values ) : void
SetValue ( string section, string key, string value ) : void
SetValues ( string section, IList values ) : void
SetValues ( string section, string>.IList values ) : void
UpdateSections ( string section, IList values ) : void

Private Methods

Method Description
ConvertToFullPath ( string result ) : string
EnsureSectionExists ( string section ) : void
GetNuGetValue ( string section, string key, bool isPath ) : NuGet.SettingValue
GetNuGetValue ( string section, string subsection, string key, bool isPath ) : NuGet.SettingValue
GetNuGetValues ( string section, bool isPath = false ) : IList
GetNuGetValues ( string section, string subsection, bool isPath = false ) : IList
GetSectionListKey ( ) : string
GetSectionValueKey ( string section, string key ) : string
GetSectionValuesListKey ( string section ) : string
GetSubsectionValueKey ( string section, string subsection, string key ) : string
GetSubsectionValuesListKey ( string section, string subsection ) : string
SetNuGetValue ( string section, string key, string value ) : void
SetNuGetValue ( string section, string subsection, string key, string value ) : void
SetNuGetValues ( string section, string>.IList values ) : void
SetNuGetValues ( string section, string subsection, string>.IList values ) : void
UpdateKeysList ( string>.IList values, string valuesListKey ) : void

Method Details

DeleteSection() public method

public DeleteSection ( string section ) : bool
section string
return bool

DeleteValue() public method

public DeleteValue ( string section, string key ) : bool
section string
key string
return bool

GetNestedValues() public method

public GetNestedValues ( string section, string subsection ) : IList
section string
subsection string
return IList

GetValue() public method

public GetValue ( string section, string key, bool isPath ) : string
section string
key string
isPath bool
return string

GetValues() public method

public GetValues ( string section, bool isPath ) : IList
section string
isPath bool
return IList

NuGetSettings() public method

public NuGetSettings ( IConfigurationService configurationService ) : System
configurationService IConfigurationService
return System

SetNestedValues() public method

public SetNestedValues ( string section, string key, string>.IList values ) : void
section string
key string
values string>.IList
return void

SetValue() public method

public SetValue ( string section, string key, string value ) : void
section string
key string
value string
return void

SetValues() public method

public SetValues ( string section, IList values ) : void
section string
values IList
return void

SetValues() public method

public SetValues ( string section, string>.IList values ) : void
section string
values string>.IList
return void

UpdateSections() public method

public UpdateSections ( string section, IList values ) : void
section string
values IList
return void