public static void Join(this EntityValidationResult @this, ValidationResult validationResult)
 {
     if (validationResult != null)
     {
         @this.InternalValidations.Add(validationResult);
     }
 }
        public static void Join(this EntityValidationResult @this, EntityValidationResult result)
        {
            if (result == null || result.IsEmpty)
            {
                return;
            }

            @this.InternalValidations.AddRange(result.InternalValidations);
        }
        public EntityValidationResult End()
        {
            lock (_syncValidations)
            {
                var result = new EntityValidationResult(Validations.ToArray());

                Validations.Clear();

                return(result);
            }
        }
 public EntityValidationHelper <TEntity> AddValidationsResult(EntityValidationResult entityValidationResult) => AddValidationsResult(entityValidationResult.Validations);