public DownloadHandler(AppConfig appConfig, BrowserSettings settings, ILogger logger)
 {
     this.appConfig = appConfig;
     this.callbacks = new ConcurrentDictionary <int, DownloadFinishedCallback>();
     this.logger    = logger;
     this.settings  = settings;
 }
 public BrowserApplicationController(
     AppConfig appConfig,
     BrowserSettings settings,
     IMessageBox messageBox,
     IModuleLogger logger,
     IText text,
     IUserInterfaceFactory uiFactory)
 {
     this.appConfig  = appConfig;
     this.controls   = new List <IApplicationControl>();
     this.instances  = new List <IApplicationInstance>();
     this.logger     = logger;
     this.messageBox = messageBox;
     this.settings   = settings;
     this.text       = text;
     this.uiFactory  = uiFactory;
 }