Beispiel #1
0
 /// <summary>
 /// Checks that the redis cache name is valid and is not already in use.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the CheckNameAvailability Redis operation. The only
 /// supported resource type is 'Microsoft.Cache/redis'
 /// </param>
 public static void CheckNameAvailability(this IRedisOperations operations, CheckNameAvailabilityParameters parameters)
 {
     operations.CheckNameAvailabilityAsync(parameters).GetAwaiter().GetResult();
 }