Example #1
0
 public void SetValidator(ValidationRequested validator)
 {
     ValidationRequest += validator;
     if (ValidationRequest == null)
     {
         return;
     }
     foreach (var i in _prizeLevelList)
     {
         i.SetValidator(validator);
     }
 }
Example #2
0
 /// <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);
             }
         }
     }
 }
Example #3
0
 public void SetValidator(ValidationRequested validator)
 {
     ValidationRequest += validator;
 }
Example #4
0
 public void SetValidator(ValidationRequested validator)
 {
     ValidationRequest += validator;
     WordListsModel.SetValidator(validator);
     CallLettersModel.SetValidator(validator);
 }