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