예제 #1
0
        public void Set(List <SendReversalValidationRequest> validationRequests)
        {
            var isFirstSet = validationRequests.Any() && !ValidationRequests.Any();

            ValidationRequests.AddRange(validationRequests);
            if (isFirstSet)
            {
                SetExecutionOrder(nameof(ValidationRequests));
            }
        }
예제 #2
0
        public void Set(SendReversalValidationRequest validationRequest)
        {
            var isFirstSet = !ValidationRequests.Any();

            ValidationRequests.Add(validationRequest);
            if (isFirstSet)
            {
                SetExecutionOrder(nameof(ValidationRequests));
            }
        }