IMethodParameterValidator.cs 411 B

1234567891011121314
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations;
  3. using Abp.Dependency;
  4. namespace Abp.Runtime.Validation.Interception
  5. {
  6. /// <summary>
  7. /// This interface is used to validate method parameters.
  8. /// </summary>
  9. public interface IMethodParameterValidator : ITransientDependency
  10. {
  11. IReadOnlyList<ValidationResult> Validate(object validatingObject);
  12. }
  13. }