Example #1
0
 public void SetMyRooms(List <IChatRoom> value)
 {
     Console.WriteLine($"Setting Rooms {value?.Count} - there is {(GotChatRooms is object ? "" : "not")} a subscriber");
     myRooms = value;
     if (HasChatRooms)
     {
         GotChatRooms?.Invoke();
     }
 }
Example #2
0
 void RaiseGotChatRoomsEvent()
 {
     GotChatRooms?.Invoke(this, null);
 }