public static string NextString(
this Random random,
int minLength,
int maxLength,
StringCreation strategy = StringCreation.Ascii
)
<ExtensionAttribute>
Public Shared Function NextString (
random As Random,
minLength As Integer,
maxLength As Integer,
Optional strategy As StringCreation = StringCreation.Ascii
) As String
public:
[ExtensionAttribute]
static String^ NextString(
Random^ random,
int minLength,
int maxLength,
StringCreation strategy = StringCreation::Ascii
)
[<ExtensionAttribute>]
static member NextString :
random : Random *
minLength : int *
maxLength : int *
?strategy : StringCreation
(* Defaults:
let _strategy = defaultArg strategy StringCreation.Ascii
*)
-> string
ArgumentNullException | random is . |
ArgumentOutOfRangeException | minLength is less than 0 or maxLength is less than minLength -or- strategy is not a valid value of StringCreation. |