protected void DataValidate(ValidateTriggerControl controlType, IEnumerable <T> t) { foreach (var s in t) { DataValidate(controlType, s); } }
public virtual string DataValidate(ValidateTriggerControl controlType, T t) { if (t is IObjectValidate <T> ) { ((IObjectValidate <T>)t).Validate(controlType, this); } return(""); }