File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ public sealed class PolylineDecoder(ICoordinateValidator validator) : IPolylineD
6
6
public ICoordinateValidator Validator { get ; } = validator ?? throw new ArgumentNullException ( nameof ( validator ) ) ;
7
7
8
8
/// <summary>
9
- /// Method decodes polyline encoded representation to coordinates .
9
+ /// Decodes polyline representation.
10
10
/// </summary>
11
11
/// <param name="source">Encoded polyline string to decode</param>
12
- /// <returns>Returns coordinates. </returns>
12
+ /// <returns>Returns coordinates</returns>
13
13
/// <exception cref="ArgumentException">If polyline argument is null -or- empty char array.</exception>
14
14
/// <exception cref="InvalidOperationException">If polyline representation is not in correct format.</exception>
15
15
public IEnumerable < ( double Latitude , double Longitude ) > Decode ( string polyline ) {
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ public sealed class PolylineEncoder(ICoordinateValidator validator) : IPolylineE
17
17
public ICoordinateValidator Validator { get ; } = validator ?? throw new ArgumentNullException ( nameof ( validator ) ) ;
18
18
19
19
/// <summary>
20
- /// Method encodes coordinates to polyline encoded representation
20
+ /// Encodes coordinates to polyline representation
21
21
/// </summary>
22
22
/// <param name="coordinates">Coordinates to encode</param>
23
23
/// <returns>Polyline encoded representation</returns>
24
- /// <exception cref="ArgumentException ">If coordinates parameter is null</exception>
24
+ /// <exception cref="ArgumentNullException ">If coordinates parameter is null</exception>
25
25
/// <exception cref="ArgumentException">If coordinates parameter is empty</exception>
26
- /// <exception cref="AggregateException">If one or more coordinate is out of range</exception>
26
+ /// <exception cref="AggregateException">If one or more coordinate is out of valid range</exception>
27
27
public string Encode ( IEnumerable < ( double Latitude , double Longitude ) > coordinates ) {
28
28
if ( coordinates is null ) {
29
29
throw new ArgumentNullException ( nameof ( coordinates ) ) ;
You can’t perform that action at this time.
0 commit comments