public static MethodResult <T> OperateWhen <T>( this MethodResult <T> @this, Func <MethodResult> predicate, Action operation ) => @this.OperateWhen(predicate().IsSuccess, operation);
public static MethodResult <T> OperateWhen <T>( this MethodResult <T> @this, Func <MethodResult> predicate, Action operation ) => @this.OperateWhen(predicate().IsSuccess, operation);