public static void AddRedisPartitionCaching <TPartitionPolicy>(this IUraganoSampleBuilder builder) where TPartitionPolicy : IRedisPartitionPolicy, new()
        {
            var options = builder.Configuration.GetSection("Uragano:Caching:Redis").Get <RedisOptions>();

            builder.AddRedisPartitionCaching <TPartitionPolicy>(options);
        }
        public static void AddRedisPartitionCaching(this IUraganoSampleBuilder builder)
        {
            var options = builder.Configuration.GetSection("Uragano:Caching:Redis").Get <RedisOptions>();

            builder.AddRedisPartitionCaching(options);
        }
        public static void AddRedisPartitionCaching(this IUraganoSampleBuilder builder, Func <string, IReadOnlyList <RedisConnection>, RedisConnection> partitionPolicy = null)
        {
            var options = builder.Configuration.GetSection("Uragano:Caching:Redis").Get <RedisOptions>();

            builder.AddRedisPartitionCaching(options, partitionPolicy);
        }