예제 #1
0
        /// <summary>
        /// Called when [client session updated].
        /// </summary>
        /// <param name="clientSessionInfo">The client session info.</param>
        protected virtual void OnClientSessionUpdated(ClientSessionInfo clientSessionInfo)
        {
            EventHandler <TClientSessionEventArgs> handler = this.ClientSessionUpdated;

            if (handler != null)
            {
                TClientSessionEventArgs e = new TClientSessionEventArgs(clientSessionInfo);
                handler(this, e);
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="TClientSessionEventArgs"/> class.
 /// </summary>
 /// <param name="sessionInfo">The session info.</param>
 public TClientSessionEventArgs(ClientSessionInfo sessionInfo)
 {
     this.SessionInfo = sessionInfo;
 }