Esempio n. 1
0
 public FrameWork(IDataService dataService, ILogService logService, IErrorService errorService)
 {
     this.dataService  = dataService;
     this.logService   = logService;
     this.errorService = errorService;
     registerActive    = new RegisterActive(logService);
 }
Esempio n. 2
0
 public FrameWork(IDataService dataService,
                  ILogService logService, IErrorService errorService, IUserService userService)
 {
     this.dataService   = dataService;
     this.logService    = logService;
     this.errorService  = errorService;
     this.userService   = userService;
     registerConnection = new RegisterConnection(logService, errorService);
     registerActive     = new RegisterActive(logService, errorService);
     registerPortActive = new RegisterPortActive(logService, errorService);
     registerSymbol     = new RegisterSymbol(logService, errorService);
     uiFactory          = new UIFactory();
 }