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