Exemplo n.º 1
0
 public DrinkPreparator(IDrinkInfoQuery drinkInfoQuery,
                        SimpleDrinkFactory simpleDrinkFactory,
                        TopicFactory topicFactory,
                        IDrinkValidator drinkValidator)
 {
     _drinkInfoQuery     = drinkInfoQuery;
     _simpleDrinkFactory = simpleDrinkFactory;
     _topicFactory       = topicFactory;
     _drinkValidator     = drinkValidator;
 }
Exemplo n.º 2
0
 public DrinkValidator(IDrinkInfoQuery drinkInfoQuery)
 {
     _drinkInfoQuery = drinkInfoQuery;
 }