public void OnValidationError(VerifierResultCollection validationErrors) { if (validationErrors.HasErrors) { EventFns.Publish(new ValidationErrorMessage(validationErrors)); } }
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()); }
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)); }