public BuildCache ( string regionName, string>.IDictionary |
||
regionName | string | the name of the cache region |
properties | string>.IDictionary | configuration settings |
return | ICache |
public void Build_Cache_From_AppConfig() { ICache cache = _provider.BuildCache("NSoft.NFramework", null); Assert.IsNotNull(cache); Assert.AreEqual("NSoft.NFramework", cache.RegionName); }
public void SetUp() { var cache = _provider.BuildCache("nunit", _props); cache.Clear(); }