Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed May 29, 2022
1 parent 4cb66c5 commit c09e0a9
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ internal AspNetCoreVirtualCharSequence(VirtualCharSequence virtualCharSequence)
_virtualCharSequence = virtualCharSequence;
}

/// <inheritdoc cref="VirtualCharSequence.Empty"/>
public static readonly AspNetCoreVirtualCharSequence Empty = new(VirtualCharSequence.Empty);

/// <inheritdoc cref="VirtualCharSequence.Length"/>
public int Length => _virtualCharSequence.Length;

Expand All @@ -33,7 +36,9 @@ internal AspNetCoreVirtualCharSequence(VirtualCharSequence virtualCharSequence)
/// <inheritdoc cref="VirtualCharSequence.CreateString"/>
public string CreateString() => _virtualCharSequence.CreateString();

/// <inheritdoc cref="VirtualCharSequence.IsDefault"/>
public bool IsDefault => _virtualCharSequence.IsDefault;
/// <inheritdoc cref="VirtualCharSequence.FromBounds"/>
public static AspNetCoreVirtualCharSequence FromBounds(
AspNetCoreVirtualCharSequence chars1, AspNetCoreVirtualCharSequence chars2) =>
new(VirtualCharSequence.FromBounds(chars1._virtualCharSequence, chars2._virtualCharSequence));
}
}

0 comments on commit c09e0a9

Please sign in to comment.