Skip to content

Commit 1c8fa2a

Browse files
Extension method classes have xml comments added for documentation
1 parent 822ad87 commit 1c8fa2a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/F23.StringSimilarity/Support/ArrayExtensions.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,17 @@
2727

2828
namespace F23.StringSimilarity.Support
2929
{
30+
/// <summary>
31+
/// Provides extension methods for working with arrays.
32+
/// </summary>
33+
/// <remarks>This class contains utility methods that extend the functionality of arrays, enabling
34+
/// additional operations such as creating a padded version of an array. These methods are designed to simplify
35+
/// common array manipulation tasks.</remarks>
3036
internal static class ArrayExtensions
3137
{
38+
/// <summary>
39+
/// Creates a new array by padding the source array to the specified final length with the given padding value.
40+
/// </summary>
3241
internal static T[] WithPadding<T>(this T[] source, int finalLength, T paddingValue = default(T))
3342
{
3443
if (finalLength < source.Length)

0 commit comments

Comments
 (0)