예제 #1
0
 public RedisCacheManager(string connectionString)
 {
     connectionWrapper = new RedisConnectionWrapper(connectionString);
     options           = ConfigurationOptions.Parse(connectionString);
 }
예제 #2
0
        //private readonly IEventBus eventBus;
        #endregion

        #region Ctor
        /// <summary>
        /// ConfigurationOptions
        /// </summary>
        /// <param name="connectionString"></param>
        public RedisCacheManager(ConfigurationOptions options)
        {
            this.options      = options;
            connectionWrapper = new RedisConnectionWrapper(options);
        }