public void SetValidator(ValidationRequested validator) { ValidationRequest += validator; if (ValidationRequest == null) { return; } foreach (var i in _prizeLevelList) { i.SetValidator(validator); } }
/// <summary> /// Set delegate for ErrorService validation /// </summary> /// <param name="validator"></param> public void SetValidator(ValidationRequested validator) { ValidationRequest += validator; if (ValidationRequest != null) { foreach (var i in PrizeLevelList.Children) { var prizeLevelUC = i as PrizeLevelUserControl; if (prizeLevelUC != null) { prizeLevelUC.SetValidator(validator); } } } }
public void SetValidator(ValidationRequested validator) { ValidationRequest += validator; }
public void SetValidator(ValidationRequested validator) { ValidationRequest += validator; WordListsModel.SetValidator(validator); CallLettersModel.SetValidator(validator); }