internal ClientController(
     IActionCenter actionCenter,
     IApplicationMonitor applicationMonitor,
     ClientContext context,
     IDisplayMonitor displayMonitor,
     IExplorerShell explorerShell,
     IFileSystemDialog fileSystemDialog,
     IHashAlgorithm hashAlgorithm,
     ILogger logger,
     IMessageBox messageBox,
     IOperationSequence operations,
     IRuntimeProxy runtime,
     Action shutdown,
     ISplashScreen splashScreen,
     ITaskbar taskbar,
     IText text,
     IUserInterfaceFactory uiFactory)
 {
     this.actionCenter       = actionCenter;
     this.applicationMonitor = applicationMonitor;
     this.context            = context;
     this.displayMonitor     = displayMonitor;
     this.explorerShell      = explorerShell;
     this.fileSystemDialog   = fileSystemDialog;
     this.hashAlgorithm      = hashAlgorithm;
     this.logger             = logger;
     this.messageBox         = messageBox;
     this.operations         = operations;
     this.runtime            = runtime;
     this.shutdown           = shutdown;
     this.splashScreen       = splashScreen;
     this.taskbar            = taskbar;
     this.text      = text;
     this.uiFactory = uiFactory;
 }
 public BrowserApplicationInstance(
     AppConfig appConfig,
     BrowserSettings settings,
     int id,
     bool isMainInstance,
     IFileSystemDialog fileSystemDialog,
     IHashAlgorithm hashAlgorithm,
     IMessageBox messageBox,
     IModuleLogger logger,
     IText text,
     IUserInterfaceFactory uiFactory,
     string startUrl)
 {
     this.appConfig        = appConfig;
     this.Id               = id;
     this.httpClient       = new HttpClient();
     this.isMainInstance   = isMainInstance;
     this.fileSystemDialog = fileSystemDialog;
     this.hashAlgorithm    = hashAlgorithm;
     this.messageBox       = messageBox;
     this.logger           = logger;
     this.settings         = settings;
     this.text             = text;
     this.uiFactory        = uiFactory;
     this.startUrl         = startUrl;
 }
Exemplo n.º 3
0
 public BrowserApplication(
     AppConfig appConfig,
     BrowserSettings settings,
     IFileSystemDialog fileSystemDialog,
     IMessageBox messageBox,
     IModuleLogger logger,
     IText text,
     IUserInterfaceFactory uiFactory)
 {
     this.appConfig        = appConfig;
     this.fileSystemDialog = fileSystemDialog;
     this.instances        = new List <BrowserApplicationInstance>();
     this.logger           = logger;
     this.messageBox       = messageBox;
     this.settings         = settings;
     this.text             = text;
     this.uiFactory        = uiFactory;
 }