Пример #1
0
 public bool IsValidCharacter(char character)
 {
     return(_validCharacters.Contains(character));
 }
Пример #2
0
 private CharacterGene(char character, CharSeq validChars)
 {
     Allele           = NonNull(character);
     _validCharacters = NonNull(validChars);
     _valid           = _validCharacters.Contains(Allele);
 }