Esempio n. 1
0
        /// <summary>
        /// Raises the PacketReceived event.
        /// </summary>
        /// <param name="e">The <see cref="OutSimEventArgs"/> object containing the event data.</param>
        protected virtual void OnPacketReceived(OutSimEventArgs e)
        {
            EventHandler <OutSimEventArgs> temp = PacketReceived;

            if (temp != null)
            {
                temp(this, e);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Raises the PacketReceived event.
 /// </summary>
 /// <param name="e">The <see cref="OutSimEventArgs"/> object containing the event data.</param>
 protected virtual void OnPacketReceived(OutSimEventArgs e) {
     EventHandler<OutSimEventArgs> temp = PacketReceived;
     if (temp != null) {
         temp(this, e);
     }
 }