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(); } }
public void TriggerLoggedIn() { GotChatUser?.Invoke(); }
void RaiseGotChatUserEvent() { GotChatUser?.Invoke(this, null); }