/// <summary> /// Get client for type. /// </summary> public static CosmosClient GetClient <T>(this ICosmosClientRegistry cosmosClientRegistry) { return(cosmosClientRegistry.GetClient(typeof(T).FullName)); }
/// <summary> /// Get default client. /// </summary> public static CosmosClient GetClient(this ICosmosClientRegistry cosmosClientRegistry) { return(cosmosClientRegistry.GetClient(CosmosClientRegistration.DefaultName)); }