PasswordGeneratorGenerateComplex Method (Int32, IEnumerableString, FuncString, Boolean) |
Namespace: MlkPwgenAssembly: MlkPwgen (in MlkPwgen.dll) Version: 0.1.0.0
Syntax public static string GenerateComplex(
int length = 10,
IEnumerable<string> requiredSets = null,
Func<string, bool> predicate = null
)
Public Shared Function GenerateComplex (
Optional length As Integer = 10,
Optional requiredSets As IEnumerable(Of String) = Nothing,
Optional predicate As Func(Of String, Boolean) = Nothing
) As String
public:
static String^ GenerateComplex(
int length = 10,
IEnumerable<String^>^ requiredSets = nullptr,
Func<String^, bool>^ predicate = nullptr
)
static member GenerateComplex :
?length : int *
?requiredSets : IEnumerable<string> *
?predicate : Func<string, bool>
(* Defaults:
let _length = defaultArg length 10
let _requiredSets = defaultArg requiredSets null
let _predicate = defaultArg predicate null
*)
-> string
Parameters
- length (Optional)
- Type: SystemInt32
- requiredSets (Optional)
- Type: System.Collections.GenericIEnumerableString
The sets characters that the password must contain - predicate (Optional)
- Type: SystemFuncString, Boolean
An arbitrary function that the password must match
Return Value
Type:
StringSee Also