From a367eb3e9cb866575988791209834f1f7d5d6ffa Mon Sep 17 00:00:00 2001 From: Magnus Mikkelsen Date: Mon, 29 Jun 2020 17:22:59 +0200 Subject: [PATCH] documenting our way out of issue #26 --- Src/Fare/Xeger.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Src/Fare/Xeger.cs b/Src/Fare/Xeger.cs index 1a425af..7cb763b 100644 --- a/Src/Fare/Xeger.cs +++ b/Src/Fare/Xeger.cs @@ -58,7 +58,10 @@ public Xeger(string regex, Random random) } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class.
+ /// Note that if multiple instances are created within short time, using this overload,
+ /// the instances might generate identical random strings.
+ /// To avoid this - use the constructor overload that accepts an argument of type Random ///
/// The regex. public Xeger(string regex)