C# Class NBot.AzureTableStorageBrain.AzureTableStorageBrain

Inheritance: IBrain
显示文件 Open project: NBot/NBot

Public Methods

Method Description
AzureTableStorageBrain ( string connectionString, string partitionKey ) : Microsoft.WindowsAzure.Storage
AzureTableStorageBrain ( string accountName, string accountKey, string partitionKey = "Brain" ) : Microsoft.WindowsAzure.Storage
ContainsKey ( string key ) : bool
GetValue ( string key ) : object
RemoveKey ( string key ) : void
SetValue ( string key, object value ) : void

Private Methods

Method Description
GetAzureTableResult ( string key ) : Microsoft.WindowsAzure.Storage.Table.TableResult

Method Details

AzureTableStorageBrain() public method

public AzureTableStorageBrain ( string connectionString, string partitionKey ) : Microsoft.WindowsAzure.Storage
connectionString string
partitionKey string
return Microsoft.WindowsAzure.Storage

AzureTableStorageBrain() public method

public AzureTableStorageBrain ( string accountName, string accountKey, string partitionKey = "Brain" ) : Microsoft.WindowsAzure.Storage
accountName string
accountKey string
partitionKey string
return Microsoft.WindowsAzure.Storage

ContainsKey() public method

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

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