Skip to content

Commit

Permalink
Add intellisense documentation for the GenerateStringFromPattern() me…
Browse files Browse the repository at this point in the history
…thod.
  • Loading branch information
tpierrain committed Jan 25, 2021
1 parent 3e253f2 commit 0fa7490
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Diverse/Diverse.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<RepositoryUrl>https://github.com/42skillz/Diverse</RepositoryUrl>
<RepositoryType></RepositoryType>
<PackageTags>Fuzzers Inclusive Diversity Diverse Deterministic tooling tests test unit acceptance extensibility Fuzzer</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageReleaseNotes>Add intellisense documentation for the GenerateStringFromPattern() method.</PackageReleaseNotes>
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<FileVersion>0.9.0.0</FileVersion>
<Version>0.9.0.0</Version>
Expand Down
4 changes: 2 additions & 2 deletions Diverse/Fuzzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,9 @@ private static Maybe<string> LastChanceToFindAdjective(Feeling? feeling,
}

/// <summary>
/// Generates a string from a given 'diverse' format.
/// Generates a string from a given 'diverse' format (# for a single digit number, X for upper-cased letter, x for lower-cased letter).
/// </summary>
/// <param name="diverseFormat">The 'diverse' format to use.</param>
/// <param name="diverseFormat">The 'diverse' format to use (# for a single digit number, X for upper-cased letter, x for lower-cased letter).</param>
/// <returns>A randomly generated string following the 'diverse' format.</returns>
public string GenerateStringFromPattern(string diverseFormat)
{
Expand Down
6 changes: 3 additions & 3 deletions Diverse/IFuzzStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public interface IFuzzStrings
string GenerateAdjective(Feeling? feeling);

/// <summary>
/// Generates a string from a given 'diverse' format.
/// Generates a string from a given 'diverse' format (# for a single digit number, X for upper-cased letter, x for lower-cased letter).
/// </summary>
/// <param name="diverseFormat">The 'diverse' format to use.</param>
/// <returns>A randomly generated string followin the 'diverse' format.</returns>
/// <param name="diverseFormat">The 'diverse' format to use (# for a single digit number, X for upper-cased letter, x for lower-cased letter).</param>
/// <returns>A randomly generated string following the 'diverse' format.</returns>
string GenerateStringFromPattern(string diverseFormat);
}
}
6 changes: 3 additions & 3 deletions Diverse/Strings/StringFuzzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public string GenerateAdjective(Feeling? feeling = null)
}

/// <summary>
/// Generates a string from a given 'diverse' format.
/// Generates a string from a given 'diverse' format (# for a single digit number, X for upper-cased letter, x for lower-cased letter).
/// </summary>
/// <param name="diverseFormat">The 'diverse' format to use.</param>
/// <returns>A randomly generated string followin the 'diverse' format.</returns>
/// <param name="diverseFormat">The 'diverse' format to use (# for a single digit number, X for upper-cased letter, x for lower-cased letter).</param>
/// <returns>A randomly generated string following the 'diverse' format.</returns>
public string GenerateStringFromPattern(string diverseFormat)
{
var builder = new StringBuilder(diverseFormat.Length);
Expand Down

0 comments on commit 0fa7490

Please sign in to comment.