public IRandomStringGenerationBuilder AndAllowCharacters(CharacterGroups characters) { foreach (var c in CharacterGroup.Get(characters)) { this.allowedCharacters.Add(c); } return(this); }
public IRandomStringGenerationBuilder AllowCharacters(CharacterGroups characters) { this.allowedCharacters = new List <char>(CharacterGroup.Get(characters)); return(this); }