1234567891011121314151617181920212223 |
- using System;
- namespace MECF.Framework.Common.Communications.Tcp.Socket.Server.APM.EventArgs
- {
- public class TcpClientDisconnectedEventArgs : System.EventArgs
- {
- public TcpClientDisconnectedEventArgs(TcpSocketSession session)
- {
- if (session == null)
- throw new ArgumentNullException("session");
- this.Session = session;
- }
- public TcpSocketSession Session { get; private set; }
- public override string ToString()
- {
- return string.Format("{0}", this.Session);
- }
- }
- }
|