public void RaiseUserTyping(UserTypingEventArgs e) { UserTyping.SafeInvoke(this, e); }
void OnUserTyping(object sender, UserTypingEventArgs e) { GetParticipant(e.User).IsTyping = e.Starting; UserTyping.SafeInvoke(this, e); }
void OnUserTyping(object sender, UserTypingEventArgs e) { var participant = participants.Single(vm => vm.Contact == e.User); if (e.Starting) typingParticipants.Add(participant); else typingParticipants.Remove(participant); }