/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="config"></param>
 /// <param name="attr"></param>
 public RedisOutputAsyncCollector(RedisConfiguration config, RedisOutputAttribute attr, IRedisDatabaseManager redisDatabaseManager)
 {
     this.config = config;
     this.attr   = attr;
     this.redisDatabaseManager  = redisDatabaseManager;
     this.redisOutputCollection = new List <RedisOutput>();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="config"></param>
 /// <param name="attr"></param>
 public RedisItemAsyncCollector(RedisExtensionConfigProvider config, RedisAttribute attr, IRedisDatabaseManager redisDatabaseManager)
 {
     this.config = config;
     this.attr   = attr;
     this.redisDatabaseManager = redisDatabaseManager;
     this.redisItemCollection  = new List <RedisItem>();
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="redisDatabaseManager"></param>
 public RedisConfiguration(IRedisDatabaseManager redisDatabaseManager)
 {
     this.redisDatabaseManager = redisDatabaseManager;
 }