C# Class NuGet.VisualStudio.SettingsManagerBase

Exibir arquivo Open project: monoman/NugetCracker

Protected Methods

Method Description
ClearAllSettings ( string settingsRoot ) : void
DeleteProperty ( string settingsRoot, string property ) : bool
ReadBool ( string settingsRoot, string property, bool defaultValue = false ) : bool
ReadInt32 ( string settingsRoot, string property, int defaultValue ) : int
ReadString ( string settingsRoot, string property, string defaultValue = "" ) : string
ReadStrings ( string settingsRoot, string properties, string defaultValue = "" ) : string[]
SettingsManagerBase ( IServiceProvider serviceProvider ) : System
WriteBool ( string settingsRoot, string property, bool value ) : void
WriteInt32 ( string settingsRoot, string property, int value ) : void
WriteString ( string settingsRoot, string property, string value ) : void
WriteStrings ( string settingsRoot, string properties, string values ) : void

Private Methods

Method Description
GetWritableSettingsStore ( string settingsRoot ) : WritableSettingsStore

Method Details

ClearAllSettings() protected method

protected ClearAllSettings ( string settingsRoot ) : void
settingsRoot string
return void

DeleteProperty() protected method

protected DeleteProperty ( string settingsRoot, string property ) : bool
settingsRoot string
property string
return bool

ReadBool() protected method

protected ReadBool ( string settingsRoot, string property, bool defaultValue = false ) : bool
settingsRoot string
property string
defaultValue bool
return bool

ReadInt32() protected method

protected ReadInt32 ( string settingsRoot, string property, int defaultValue ) : int
settingsRoot string
property string
defaultValue int
return int

ReadString() protected method

protected ReadString ( string settingsRoot, string property, string defaultValue = "" ) : string
settingsRoot string
property string
defaultValue string
return string

ReadStrings() protected method

protected ReadStrings ( string settingsRoot, string properties, string defaultValue = "" ) : string[]
settingsRoot string
properties string
defaultValue string
return string[]

SettingsManagerBase() protected method

protected SettingsManagerBase ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
return System

WriteBool() protected method

protected WriteBool ( string settingsRoot, string property, bool value ) : void
settingsRoot string
property string
value bool
return void

WriteInt32() protected method

protected WriteInt32 ( string settingsRoot, string property, int value ) : void
settingsRoot string
property string
value int
return void

WriteString() protected method

protected WriteString ( string settingsRoot, string property, string value ) : void
settingsRoot string
property string
value string
return void

WriteStrings() protected method

protected WriteStrings ( string settingsRoot, string properties, string values ) : void
settingsRoot string
properties string
values string
return void