C# Class MyGetMirror.InMemorySettings

Inheritance: ISettings
Afficher le fichier Open project: NuGet/Entropy Class Usage Examples

Méthodes publiques

Méthode Description
DeleteSection ( string section ) : bool
DeleteValue ( string section, string key ) : bool
GetNestedValues ( string section, string subSection ) : string>>.IList
GetSettingValues ( string section, bool isPath = false ) : IList
GetValue ( string section, string key, bool isPath = false ) : string
SetNestedValues ( string section, string subSection, string>.IList values ) : void
SetValue ( string section, string key, string value ) : void
SetValues ( string section, IReadOnlyList values ) : void
UpdateSections ( string section, IReadOnlyList values ) : void

Private Methods

Méthode Description
EmitSettingsChanged ( ) : void

Method Details

DeleteSection() public méthode

public DeleteSection ( string section ) : bool
section string
Résultat bool

DeleteValue() public méthode

public DeleteValue ( string section, string key ) : bool
section string
key string
Résultat bool

GetNestedValues() public méthode

public GetNestedValues ( string section, string subSection ) : string>>.IList
section string
subSection string
Résultat string>>.IList

GetSettingValues() public méthode

public GetSettingValues ( string section, bool isPath = false ) : IList
section string
isPath bool
Résultat IList

GetValue() public méthode

public GetValue ( string section, string key, bool isPath = false ) : string
section string
key string
isPath bool
Résultat string

SetNestedValues() public méthode

public SetNestedValues ( string section, string subSection, string>.IList values ) : void
section string
subSection string
values string>.IList
Résultat void

SetValue() public méthode

public SetValue ( string section, string key, string value ) : void
section string
key string
value string
Résultat void

SetValues() public méthode

public SetValues ( string section, IReadOnlyList values ) : void
section string
values IReadOnlyList
Résultat void

UpdateSections() public méthode

public UpdateSections ( string section, IReadOnlyList values ) : void
section string
values IReadOnlyList
Résultat void