/// <summary> /// Validates that the rule has not been broken. /// </summary> /// <param name="domainObject">The domain object being validated.</param> /// <returns>True if the rule has not been broken, or false if it has.</returns> public override bool ValidateRule(DomainObject domainObject) { return RuleDelegate(); }
/// <summary> /// Validates that the rule has been followed. /// </summary> public abstract bool ValidateRule(DomainObject domainObject);