public static Task <ICounterResult> Increment(this IBinaryCollection binaryCollection, string id, Action <IncrementOptions> configureOptions) { var options = new IncrementOptions(); configureOptions(options); return(binaryCollection.Increment(id, options)); }
public static Task <ICounterResult> Increment(this IBinaryCollection binaryCollection, string id) { return(binaryCollection.Increment(id, new IncrementOptions())); }