minor cleanup and typos

This commit is contained in:
Morten Nielsen 2018-04-02 12:54:02 -07:00
parent b8893ce773
commit 102805a100
3 changed files with 11 additions and 13 deletions

View file

@ -71,15 +71,15 @@ namespace NmeaParser.Nmea
public int SVsInView { get; private set; }
/// <summary>
/// Dilution of precision
/// Satellite vehicles in this message part.
/// </summary>
public IReadOnlyList<SatelliteVehicle> SVs { get; private set; }
/// <summary>
/// Returns an enumerator that iterates through the collection.
/// </summary>
/// <returns> A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection.</returns>
public IEnumerator<SatelliteVehicle> GetEnumerator()
public IReadOnlyList<SatelliteVehicle> SVs { get; private set; }
/// <summary>
/// Returns an enumerator that iterates through the collection.
/// </summary>
/// <returns> A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection.</returns>
public IEnumerator<SatelliteVehicle> 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();
}
}
}
}
}

View file

@ -16,7 +16,7 @@
<PackageProjectUrl>https://github.com/dotMorten/NmeaParser</PackageProjectUrl>
<RepositoryUrl>https://github.com/dotMorten/NmeaParser</RepositoryUrl>
<NeutralLanguage>en-US</NeutralLanguage>
<Copyright>Copyright © Morten Nielsen 2015-2017</Copyright>
<Copyright>Copyright © Morten Nielsen 2015-2018</Copyright>
<OutputPath>$(MSBuildThisFileDirectory)..\Bin\$(Configuration)</OutputPath>
<PackageOutputPath>$(OutDir)</PackageOutputPath>
<AssemblyVersion>1.9.0.0</AssemblyVersion>

View file

@ -25,8 +25,6 @@ namespace SampleApp.WinDesktop
InitializeComponent();
}
public IEnumerable<NmeaParser.Nmea.Gps.Gpgsv> GpgsvMessages
{
get { return (IEnumerable<NmeaParser.Nmea.Gps.Gpgsv>)GetValue(GpgsvMessagesProperty); }