예제 #1
0
        public static Task <ICounterResult> Increment(this IBinaryCollection binaryCollection, string id,
                                                      Action <IncrementOptions> configureOptions)
        {
            var options = new IncrementOptions();

            configureOptions(options);

            return(binaryCollection.Increment(id, options));
        }
예제 #2
0
 public static Task <ICounterResult> Increment(this IBinaryCollection binaryCollection, string id)
 {
     return(binaryCollection.Increment(id, new IncrementOptions()));
 }