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); }
public UserChangedEventArgs(UserChangedNotification notification) : this(notification.NewUser, notification.OldUser) { }