private async void OnUsersChanged(object sender, UserChangedEventArgs args)
        {
            UserChangedNotification notification = new UserChangedNotification();

            notification.Type    = NotificationType.UserChanged;
            notification.NewUser = args.NewUser;
            notification.OldUser = args.OldUser;

            await BroadcastAsync(notification);
        }
Example #2
0
 public UserChangedEventArgs(UserChangedNotification notification)
     : this(notification.NewUser, notification.OldUser)
 {
 }