Skip to content

Commit 91427a2

Browse files
Added parameters to method that were overlooked.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3dccf81 commit 91427a2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/F23.StringSimilarity/Support/ArrayExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ internal static class ArrayExtensions
4242
/// <param name="finalLength">The desired final length of the array after padding. Must be greater than or equal to the length of <paramref name="source"/>.</param>
4343
/// <param name="paddingValue">The value used to pad the array if it is shorter than <paramref name="finalLength"/>.</param>
4444
/// <returns>A new array of length <paramref name="finalLength"/> containing the elements of <paramref name="source"/>, followed by padding values if necessary.</returns>
45+
/// <param name="source">The source array to be padded.</param>
46+
/// <param name="finalLength">The desired final length of the array after padding. Must be greater than or equal to the length of <paramref name="source"/>.</param>
47+
/// <param name="paddingValue">The value used to pad the array if it is shorter than <paramref name="finalLength"/>.</param>
48+
/// <returns>A new array of length <paramref name="finalLength"/> containing the elements of <paramref name="source"/>, followed by padding values if necessary.</returns>
4549
internal static T[] WithPadding<T>(this T[] source, int finalLength, T paddingValue = default(T))
4650
{
4751
if (finalLength < source.Length)

0 commit comments

Comments
 (0)