From 102805a100f4da6e5d2ea431f8543b5a4c38eb5b Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Mon, 2 Apr 2018 12:54:02 -0700 Subject: [PATCH] minor cleanup and typos --- src/NmeaParser/Nmea/Gsv.cs | 20 +++++++++---------- src/NmeaParser/NmeaParser.csproj | 2 +- src/SampleApp.WinDesktop/SatelliteSnr.xaml.cs | 2 -- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/NmeaParser/Nmea/Gsv.cs b/src/NmeaParser/Nmea/Gsv.cs index f6e7c8c..494df31 100644 --- a/src/NmeaParser/Nmea/Gsv.cs +++ b/src/NmeaParser/Nmea/Gsv.cs @@ -71,15 +71,15 @@ namespace NmeaParser.Nmea public int SVsInView { get; private set; } /// - /// Dilution of precision + /// Satellite vehicles in this message part. /// - public IReadOnlyList SVs { get; private set; } - - /// - /// Returns an enumerator that iterates through the collection. - /// - /// A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection. - public IEnumerator GetEnumerator() + public IReadOnlyList SVs { get; private set; } + + /// + /// Returns an enumerator that iterates through the collection. + /// + /// A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection. + public IEnumerator GetEnumerator() { foreach(var sv in SVs) yield return sv; @@ -92,6 +92,6 @@ namespace NmeaParser.Nmea System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return GetEnumerator(); - } - } + } + } } diff --git a/src/NmeaParser/NmeaParser.csproj b/src/NmeaParser/NmeaParser.csproj index 6c79bc4..3d89797 100644 --- a/src/NmeaParser/NmeaParser.csproj +++ b/src/NmeaParser/NmeaParser.csproj @@ -16,7 +16,7 @@ https://github.com/dotMorten/NmeaParser https://github.com/dotMorten/NmeaParser en-US - Copyright © Morten Nielsen 2015-2017 + Copyright © Morten Nielsen 2015-2018 $(MSBuildThisFileDirectory)..\Bin\$(Configuration) $(OutDir) 1.9.0.0 diff --git a/src/SampleApp.WinDesktop/SatelliteSnr.xaml.cs b/src/SampleApp.WinDesktop/SatelliteSnr.xaml.cs index 7ae600b..540a978 100644 --- a/src/SampleApp.WinDesktop/SatelliteSnr.xaml.cs +++ b/src/SampleApp.WinDesktop/SatelliteSnr.xaml.cs @@ -25,8 +25,6 @@ namespace SampleApp.WinDesktop InitializeComponent(); } - - public IEnumerable GpgsvMessages { get { return (IEnumerable)GetValue(GpgsvMessagesProperty); }