public void OnValidationError(VerifierResultCollection validationErrors)
 {
     if (validationErrors.HasErrors)
     {
         EventFns.Publish(new ValidationErrorMessage(validationErrors));
     }
 }
Exemple #2
0
 public override void OnSaved(TempHireEntities source, EntitySavedEventArgs args)
 {
     if (args.CompletedSuccessfully)
     {
         EventFns.Publish(new SavedMessage(args.Entities));
     }
 }
 protected override void OnLoggedOut()
 {
     base.OnLoggedOut();
     EventFns.Publish(new LoggedOutMessage());
 }
Exemple #4
0
 public override void OnEntityChanged(TempHireEntities source, EntityChangedEventArgs args)
 {
     EventFns.Publish(new EntityChangedMessage(args.Entity));
 }
 protected override void OnLoggedIn()
 {
     base.OnLoggedIn();
     EventFns.Publish(new LoggedInMessage(CurrentUser));
 }