| 123456789101112131415 |
- namespace Abp.Runtime.Validation
- {
- /// <summary>
- /// Defines interface that must be implemented by classes those must be validated with custom rules.
- /// So, implementing class can define its own validation logic.
- /// </summary>
- public interface ICustomValidate
- {
- /// <summary>
- /// This method is used to validate the object.
- /// </summary>
- /// <param name="context">Validation context.</param>
- void AddValidationErrors(CustomValidationContext context);
- }
- }
|