예제 #1
0
        /// <summary>
        /// 获取配置信息,默认配置节点名称为RedisConfig
        /// </summary>
        /// <returns></returns>
        public static RedisConfigInfo GetConfig()
        {
            RedisConfigInfo section = (RedisConfigInfo)ConfigurationManager.GetSection("RedisConfig");

            return(section);
        }