C# Class NetIde.Shell.NiSettingsExtensions

Show file Open project: netide/netide

Public Methods

Method Description
DeleteValue ( this self, string key ) : void
GetBool ( this self, string key ) : bool?
GetColor ( this self, string key ) : Color?
GetDecimal ( this self, string key ) : decimal?
GetFont ( this self, string key ) : Font
GetGuid ( this self, string key ) : Guid?
GetInt32 ( this self, string key ) : int?
GetString ( this self, string key ) : string
HasValue ( this self, string key ) : bool
SetValue ( this self, string key, Color value ) : void
SetValue ( this self, string key, Font value ) : void
SetValue ( this self, string key, System.Guid value ) : void
SetValue ( this self, string key, bool value ) : void
SetValue ( this self, string key, decimal value ) : void
SetValue ( this self, string key, int value ) : void
SetValue ( this self, string key, string value ) : void

Private Methods

Method Description
DeserializeColor ( string value ) : Color?
DeserializeFont ( string value ) : Font
SerializeColor ( Color color ) : string
SerializeFont ( Font font ) : string

Method Details

DeleteValue() public static method

public static DeleteValue ( this self, string key ) : void
self this
key string
return void

GetBool() public static method

public static GetBool ( this self, string key ) : bool?
self this
key string
return bool?

GetColor() public static method

public static GetColor ( this self, string key ) : Color?
self this
key string
return Color?

GetDecimal() public static method

public static GetDecimal ( this self, string key ) : decimal?
self this
key string
return decimal?

GetFont() public static method

public static GetFont ( this self, string key ) : Font
self this
key string
return System.Drawing.Font

GetGuid() public static method

public static GetGuid ( this self, string key ) : Guid?
self this
key string
return Guid?

GetInt32() public static method

public static GetInt32 ( this self, string key ) : int?
self this
key string
return int?

GetString() public static method

public static GetString ( this self, string key ) : string
self this
key string
return string

HasValue() public static method

public static HasValue ( this self, string key ) : bool
self this
key string
return bool

SetValue() public static method

public static SetValue ( this self, string key, Color value ) : void
self this
key string
value Color
return void

SetValue() public static method

public static SetValue ( this self, string key, Font value ) : void
self this
key string
value System.Drawing.Font
return void

SetValue() public static method

public static SetValue ( this self, string key, System.Guid value ) : void
self this
key string
value System.Guid
return void

SetValue() public static method

public static SetValue ( this self, string key, bool value ) : void
self this
key string
value bool
return void

SetValue() public static method

public static SetValue ( this self, string key, decimal value ) : void
self this
key string
value decimal
return void

SetValue() public static method

public static SetValue ( this self, string key, int value ) : void
self this
key string
value int
return void

SetValue() public static method

public static SetValue ( this self, string key, string value ) : void
self this
key string
value string
return void