protected virtual void OnReceiveAuthentication(Authentication auth) { Action<Authentication> handler = this.ReceiveAuthentication; if (handler != null) handler(auth); }
private void OnSendAuthentication(Authentication auth) { Action<Authentication> handler = this.SendAuthentication; if (handler != null) handler(auth); }
internal void DoReceiveAuthentication(Authentication auth) { this.OnReceiveAuthentication(auth); }