public static Task <IGetReplicaResult> GetAnyReplicaAsync(this ICouchbaseCollection collection, string id, Action <GetAnyReplicaOptions> configureOptions)
        {
            var options = new GetAnyReplicaOptions();

            configureOptions(options);

            return(collection.GetAnyReplicaAsync(id, options));
        }
 public static Task <IGetReplicaResult> GetAnyReplicaAsync(this ICouchbaseCollection collection, string id)
 {
     return(collection.GetAnyReplicaAsync(id, GetAnyReplicaOptions.Default));
 }