C# Class Wolfje.Plugins.SEconomy.Config

显示文件 Open project: tylerjwatson/SEconomy Class Usage Examples

Public Properties

Property Type Description
BankAccountsEnabled bool
BaseDirectory string
EnableProfiler bool
IdleThresholdMinutes int
IntervalPayAmount string
JournalBackupMinutes int
JournalPath string
JournalType string
MoneyConfiguration MoneyProperties
PayIntervalMinutes int
SQLConnectionProperties Wolfje.Plugins.SEconomy.Configuration.SQLConnectionProperties
StartingMoney string

Protected Properties

Property Type Description
path string

Public Methods

Method Description
Config ( string path ) : System
FromFile ( string Path ) : Config

Loads a configuration file and deserializes it from JSON

SaveConfiguration ( ) : void

Method Details

Config() public method

public Config ( string path ) : System
path string
return System

FromFile() public static method

Loads a configuration file and deserializes it from JSON
public static FromFile ( string Path ) : Config
Path string
return Config

SaveConfiguration() public method

public SaveConfiguration ( ) : void
return void

Property Details

BankAccountsEnabled public_oe property

public bool BankAccountsEnabled
return bool

BaseDirectory public_oe static_oe property

public static string BaseDirectory
return string

EnableProfiler public_oe property

public bool EnableProfiler
return bool

IdleThresholdMinutes public_oe property

public int IdleThresholdMinutes
return int

IntervalPayAmount public_oe property

public string IntervalPayAmount
return string

JournalBackupMinutes public_oe property

public int JournalBackupMinutes
return int

JournalPath public_oe static_oe property

public static string JournalPath
return string

JournalType public_oe property

public string JournalType
return string

MoneyConfiguration public_oe property

public MoneyProperties,Wolfje.Plugins.SEconomy MoneyConfiguration
return MoneyProperties

PayIntervalMinutes public_oe property

public int PayIntervalMinutes
return int

SQLConnectionProperties public_oe property

public SQLConnectionProperties,Wolfje.Plugins.SEconomy.Configuration SQLConnectionProperties
return Wolfje.Plugins.SEconomy.Configuration.SQLConnectionProperties

StartingMoney public_oe property

public string StartingMoney
return string

path protected_oe property

protected string path
return string