示例#1
0
        protected virtual void OnDisconnected(ClientDisconnectedEventArgs e)
        {
            var handler = Disconnected;

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
 protected virtual void OnDisconnected(ClientDisconnectedEventArgs e)
 {
     var handler = Disconnected;
     if (handler != null)
         handler (this, e);
 }
示例#3
0
		protected override void OnDisconnected (ClientDisconnectedEventArgs e)
		{
			base.OnDisconnected (e);

			Persona.Status = Status.Offline;

			Task.Run (() => Reconnect());
		}