C# Class NBot.FileBrain.FileBrain

Inheritance: IBrain
Show file Open project: NBot/NBot

Public Methods

Method Description
ContainsKey ( string key ) : bool
FileBrain ( string fileStorragePath ) : System.Collections.Generic
GetValue ( string key ) : object
RemoveKey ( string key ) : void
SetValue ( string key, object value ) : void

Private Methods

Method Description
GetKeyFile ( string key ) : string
GetKeyValue ( string key ) : object
KeyExists ( string key ) : bool
SetKeyValue ( string key, object value ) : void

Method Details

ContainsKey() public method

public ContainsKey ( string key ) : bool
key string
return bool

FileBrain() public method

public FileBrain ( string fileStorragePath ) : System.Collections.Generic
fileStorragePath string
return System.Collections.Generic

GetValue() public method

public GetValue ( string key ) : object
key string
return object

RemoveKey() public method

public RemoveKey ( string key ) : void
key string
return void

SetValue() public method

public SetValue ( string key, object value ) : void
key string
value object
return void