C# Class TESVSnip.UI.Services.Settings

ファイルを表示 Open project: figment/tesvsnip

Public Methods

Method Description
GetBool ( string name ) : bool

Retrieve a boolean value

GetString ( string name ) : string

Retrieve a string value

GetStringArray ( string name ) : string[]

Retrieve a string array

GetWindowPosition ( string window, Form f ) : void

Retrieve the window position

Init ( ) : void

Init class Settings

RemoveString ( string name ) : void

Remove string parameters

SetBool ( string name, bool value ) : void

Set a boolean value in a parameter

SetString ( string name, string value ) : void

Set a string value in a parameter

SetStringArray ( string name, string items ) : void

Set a string array in a parameter

SetWindowPosition ( string window, Form f ) : void

Set windows position on screen

Private Methods

Method Description
Settings ( ) : System.Drawing

Constructor

Method Details

GetBool() public static method

Retrieve a boolean value
public static GetBool ( string name ) : bool
name string Parameter name
return bool

GetString() public static method

Retrieve a string value
public static GetString ( string name ) : string
name string Parameter name
return string

GetStringArray() public static method

Retrieve a string array
public static GetStringArray ( string name ) : string[]
name string Parameter name
return string[]

GetWindowPosition() public static method

Retrieve the window position
public static GetWindowPosition ( string window, Form f ) : void
window string Window name
f System.Windows.Forms.Form Windows form reference
return void

Init() public static method

Init class Settings
public static Init ( ) : void
return void

RemoveString() public static method

Remove string parameters
public static RemoveString ( string name ) : void
name string Parameter name
return void

SetBool() public static method

Set a boolean value in a parameter
public static SetBool ( string name, bool value ) : void
name string Parameter name
value bool Boolean value
return void

SetString() public static method

Set a string value in a parameter
public static SetString ( string name, string value ) : void
name string Parameter name
value string String value
return void

SetStringArray() public static method

Set a string array in a parameter
public static SetStringArray ( string name, string items ) : void
name string Parameter name
items string String array
return void

SetWindowPosition() public static method

Set windows position on screen
public static SetWindowPosition ( string window, Form f ) : void
window string Windows name
f System.Windows.Forms.Form Windows form reference
return void