Method | Description | |
---|---|---|
LoadFromConfig ( |
Loads BB.Caching settings from you app config file, or from the section supplied.
|
|
Prepare ( ) : void |
Calls any necessary preparation logic by the caching system. Before calling this, you need to either: 1. Programmatically set up your connections before calling this, manually adding connection groups by calling SharedCache.Instance.AddRedisConnectionGroup(...); 2. Call Cache.LoadFromConfig(...) to load your settings from a configuration file.
|
public static LoadFromConfig ( |
||
section |
/// An optional |
|
establishConnections | bool | /// Talks with the redis instances defined in the connection strings to establish connections. Testing classes /// will set this to false. /// |
return | List |