Пример #1
0
 private void AddMember(object sender, MemberJoinedHandlerArgs args)
 {
     _dotNetChatViewModel.AddMember(new MemberViewModel{Name = args.Name});
 }
Пример #2
0
 private void OnMemberJoined(MemberJoinedHandlerArgs args)
 {
     MemberJoinedHandler handler = MemberJoined;
     if (handler != null) handler(this, args);
 }