/// <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); } }
/// <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); } }