File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ namespace PolylineAlgorithm;
2121public readonly struct Polyline : IEquatable < Polyline > {
2222 private readonly ReadOnlyMemory < char > _value ;
2323
24- /// <summary>
25- /// Initializes a new instance of the <see cref="Polyline"/> struct with the specified character sequence.
26- /// </summary>
27- /// <param name="value">
28- /// A read-only span of characters representing an encoded polyline.
29- /// </param>
30- public Polyline ( ReadOnlySpan < char > value ) {
31- if ( value . IsEmpty ) {
32- _value = ReadOnlyMemory < char > . Empty ;
33- } else {
34- _value = new ReadOnlyMemory < char > ( value . ToArray ( ) ) ;
35- }
36- }
24+ ///// <summary>
25+ ///// Initializes a new instance of the <see cref="Polyline"/> struct with the specified character sequence.
26+ ///// </summary>
27+ ///// <param name="value">
28+ ///// A read-only span of characters representing an encoded polyline.
29+ ///// </param>
30+ // public Polyline(ReadOnlySpan<char> value) {
31+ // if (value.IsEmpty) {
32+ // _value = ReadOnlyMemory<char>.Empty;
33+ // } else {
34+ // _value = new ReadOnlyMemory<char>(value.ToArray());
35+ // }
36+ // }
3737
3838 /// <summary>
3939 /// Initializes a new, empty instance of the <see cref="Polyline"/> struct.
You can’t perform that action at this time.
0 commit comments