Esempio n. 1
0
 protected BaseCharsetDecorator(ICharsetGenerator decoratee)
 {
     Decoratee = decoratee;
 }
 public UniquenessCharsetGenerator(ICharsetGenerator decoratee) : base(decoratee)
 {
 }
 public UpperAndLowerCaseCharsetGenerator(ICharsetGenerator decoratee) : base(decoratee)
 {
 }
 public CharsetGeneratorBuilder()
 {
     _charsetGenerator = new BaseCharsetGenerator();
 }
 public CharsetGeneratorBuilder AddUniquenessCharGenerator()
 {
     _charsetGenerator = new UniquenessCharsetGenerator(_charsetGenerator);
     return(this);
 }
 public CharsetGeneratorBuilder AddUpperAndLowerCaseGenerator()
 {
     _charsetGenerator = new UpperAndLowerCaseCharsetGenerator(_charsetGenerator);
     return(this);
 }