示例#1
0
文件: Rule.cs 项目: m-moris/AutoRest
 /// <summary>
 /// Returns the validation messages resulting from validating this object
 /// </summary>
 /// <param name="entity">The object to validate</param>
 /// <returns></returns>
 public abstract IEnumerable <ValidationMessage> GetValidationMessages(object entity, RuleContext context);