Click or drag to resize

UserIDGeneratorControllerMixNames Method

use recursive function to mix characters among valid names. For example, validNames contains ("so", "ng") MixNames returns an IEnumerable(string) with valus: sn sg on og

Namespace:  Omada.OE.Solution.OIM.AppLogic
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public IEnumerable<string> MixNames(
	List<IdentityName> validNames,
	List<char> positiveCharacters,
	List<char> negativeCharacters,
	string separator
)

Parameters

validNames
Type: System.Collections.GenericListIdentityName
positiveCharacters
Type: System.Collections.GenericListChar
If not empty - only characters from this list is allowed
negativeCharacters
Type: System.Collections.GenericListChar
Characters in this list are not allowed
separator
Type: SystemString

Return Value

Type: IEnumerableString
See Also