You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor generator extensions and improve code organization
- Consolidated methods into extensions for better grouping and readability.
- Reintroduced `Get(int count)` method into `Faker` base class.
- Adjusted username data file loading to simplify format.
- Added `ToString` override for `Generator` to provide readable outputs.
- Minor visibility updates to `Token` records.
Copy file name to clipboardExpand all lines: Forged.Core/Generators/Person/UsernameGenerator.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public sealed class UsernameGenerator(float prefixChance, float suffixChance, fl
50
50
/// <returns>A randomly generated username that may include a prefix, suffix, and leet-speak substitutions based on the configured probabilities.</returns>
0 commit comments