/// <summary> /// 填充网络连接关闭事件。 /// </summary> /// <param name="e">内部事件。</param> /// <returns>网络连接关闭事件。</returns> public NetworkClosedEventArgs Fill(Ash.Core.Network.NetworkClosedEventArgs e) { NetworkChannel = e.NetworkChannel; return(this); }
private void OnNetworkClosed(object sender, Ash.Core.Network.NetworkClosedEventArgs e) { m_EventComponent.Fire(this, ReferencePool.Acquire <NetworkClosedEventArgs>().Fill(e)); }