private void OnGpggaReceived(GpggaReceivedEventArgs args) { EventHandler <GpggaReceivedEventArgs> callback = this.GpggaReceived; if (!Object.ReferenceEquals(callback, null)) { callback(this, args); } }
private static void OnGpggaReceived(object sender, GpggaReceivedEventArgs e) { Console.WriteLine("GPGGA message received."); }
private void OnGpggaReceived(GpggaReceivedEventArgs args) { EventHandler<GpggaReceivedEventArgs> callback = this.GpggaReceived; if (!Object.ReferenceEquals(callback, null)) { callback(this, args); } }