public static Task TouchAsync(this ICouchbaseCollection collection, string id, TimeSpan expiry,
                                      Action <TouchOptions> configureOptions)
        {
            var options = new TouchOptions();

            configureOptions(options);

            return(collection.TouchAsync(id, expiry, options));
        }
 public static Task TouchAsync(this ICouchbaseCollection collection, string id, TimeSpan expiry)
 {
     return(collection.TouchAsync(id, expiry, TouchOptions.Default));
 }