private void OnGprmcReceived(GprmcReceivedEventArgs args) { EventHandler <GprmcReceivedEventArgs> callback = this.GprmcReceived; if (!Object.ReferenceEquals(callback, null)) { callback(this, args); } }
private static void OnGprmcReceived(object sender, GprmcReceivedEventArgs e) { Console.WriteLine("GPRMC message received."); }
private void OnGprmcReceived(GprmcReceivedEventArgs args) { EventHandler<GprmcReceivedEventArgs> callback = this.GprmcReceived; if (!Object.ReferenceEquals(callback, null)) { callback(this, args); } }