public static Task <MethodResult <T> > OperateWhenAsync <T>( this MethodResult <T> @this, Func <bool> predicate, Func <Task <MethodResult <T> > > function) => @this.OperateWhenAsync(predicate(), function);
public static Task <MethodResult <T> > OperateWhenAsync <T>( this MethodResult <T> @this, Func <bool> predicate, Func <Task <MethodResult <T> > > function) => @this.OperateWhenAsync(predicate(), function);