Exemplo n.º 1
0
 public NewTerminalFormValidator(IPersistence persistence, ConnectionManager connectionManager, INewTerminalForm form)
 {
     this.persistence       = persistence;
     this.validator         = persistence.Factory.CreateValidator();
     this.nameValidator     = new FavoriteNameValidator(persistence);
     this.form              = form;
     this.connectionManager = connectionManager;
 }
 public NewTerminalFormValidator(IPersistence persistence, INewTerminalForm form)
 {
     this.persistence = persistence;
     this.nameValidator = new FavoriteNameValidator(persistence);
     this.form = form;
 }