コード例 #1
0
 public override void FixtureSetup()
 {
     XmlConfigurator.Configure();
     _props = new Dictionary<string, string> {{RedisProvider.NoClearPropertyKey, "true"},
                                              {AbstractCache.ExpirationPropertyKey, "20"},
                                             {AbstractCache.LockAcquisitionTimeoutPropertyKey, "1"},
                                              {AbstractCache.LockTimeoutPropertyKey, _lockTimeout.ToString()}
     };
     _provider = new RedisProvider();
     _provider.Start(_props);
 }