Example #1
0
 public void SetMyUser(IChatUser value)
 {
     Console.WriteLine($"Setting ChatUser {value.DisplayName} - {value.Username} - there is {(GotChatUser != null ? "" : "not")} a subscriber");
     myUser = value;
     if (HasChatUser)
     {
         GotChatUser?.Invoke();
     }
 }
Example #2
0
 public void TriggerLoggedIn()
 {
     GotChatUser?.Invoke();
 }
Example #3
0
 void RaiseGotChatUserEvent()
 {
     GotChatUser?.Invoke(this, null);
 }