Exemplo n.º 1
0
 static void Main(string[] args)
 {
     var userInterface = new ConsoleUi();
     var validator = new Validator();
     var interaction = new UserInteraction(userInterface, validator);
     var analysisService = new AnalysisService(interaction);
     analysisService.Start();
 }
Exemplo n.º 2
0
 public UserInteraction(IUserInterface userInterface, Validator validator)
 {
     _userInterface = userInterface;
     _validator = validator;
 }