Ejemplo n.º 1
0
        private void AppendValidationRuleOutput(IValidationRule validationRule, StringBuilder sb, ILogContext logContext)
        {
            sb.AppendLine().AppendLine();
            sb.Append(new string (' ', 4) + "-> ");
            sb.Append(GetTypeName(validationRule.GetType()));

            AppendGroupedValidatorsOutput(validationRule.Validators.ToArray(), "VALIDATORS:", sb);
            AppendMergeOutput(logContext.GetLogContextInfos(validationRule).ToArray(), sb);
        }