PasswordGeneratorGenerateComplex Method (Int32, IReadOnlyCollectionHashSetChar, FuncString, Boolean, Random) |
Namespace: MlkPwgenAssembly: MlkPwgen (in MlkPwgen.dll) Version: 0.1.0.0
Syntax public static string GenerateComplex(
int length,
IReadOnlyCollection<HashSet<char>> requiredSets,
Func<string, bool> predicate,
Random random
)
Public Shared Function GenerateComplex (
length As Integer,
requiredSets As IReadOnlyCollection(Of HashSet(Of Char)),
predicate As Func(Of String, Boolean),
random As Random
) As String
public:
static String^ GenerateComplex(
int length,
IReadOnlyCollection<HashSet<wchar_t>^>^ requiredSets,
Func<String^, bool>^ predicate,
Random^ random
)
static member GenerateComplex :
length : int *
requiredSets : IReadOnlyCollection<HashSet<char>> *
predicate : Func<string, bool> *
random : Random -> string
Parameters
- length
- Type: SystemInt32
- requiredSets
- Type: System.Collections.GenericIReadOnlyCollectionHashSetChar
The sets characters that the password must contain - predicate
- Type: SystemFuncString, Boolean
An arbitrary function that the password must match - random
- Type: MlkPwgenRandom
Return Value
Type:
StringSee Also