Esempio n. 1
0
 public Settings()
 {
     ActionCenter = new ActionCenterSettings();
     Browser      = new BrowserSettings();
     Keyboard     = new KeyboardSettings();
     Mouse        = new MouseSettings();
     Taskbar      = new TaskbarSettings();
 }
Esempio n. 2
0
 public ApplicationSettings()
 {
     ActionCenter = new ActionCenterSettings();
     Audio        = new AudioSettings();
     Browser      = new BrowserSettings();
     Keyboard     = new KeyboardSettings();
     Mouse        = new MouseSettings();
     Service      = new ServiceSettings();
     Taskbar      = new TaskbarSettings();
 }
Esempio n. 3
0
 public AppSettings()
 {
     ActionCenter = new ActionCenterSettings();
     Applications = new ApplicationSettings();
     Audio        = new AudioSettings();
     Browser      = new BrowserSettings();
     Keyboard     = new KeyboardSettings();
     Mouse        = new MouseSettings();
     Proctoring   = new ProctoringSettings();
     Security     = new SecuritySettings();
     Server       = new ServerSettings();
     Service      = new ServiceSettings();
     Taskbar      = new TaskbarSettings();
 }
        public void Initialize()
        {
            actionCenter         = new Mock <IActionCenter>();
            activators           = new List <IActionCenterActivator>();
            actionCenterSettings = new ActionCenterSettings();
            audio                = new Mock <IAudio>();
            logger               = new Mock <ILogger>();
            aboutInfo            = new Mock <INotificationInfo>();
            aboutController      = new Mock <INotificationController>();
            keyboard             = new Mock <IKeyboard>();
            logInfo              = new Mock <INotificationInfo>();
            logController        = new Mock <INotificationController>();
            powerSupply          = new Mock <IPowerSupply>();
            systemInfo           = new Mock <ISystemInfo>();
            taskbar              = new Mock <ITaskbar>();
            taskbarSettings      = new TaskbarSettings();
            terminationActivator = new Mock <ITerminationActivator>();
            text            = new Mock <IText>();
            uiFactory       = new Mock <IUserInterfaceFactory>();
            wirelessAdapter = new Mock <IWirelessAdapter>();

            uiFactory
            .Setup(u => u.CreateNotificationControl(It.IsAny <INotificationController>(), It.IsAny <INotificationInfo>(), It.IsAny <Location>()))
            .Returns(new Mock <INotificationControl>().Object);

            sut = new ShellOperation(
                actionCenter.Object,
                activators,
                actionCenterSettings,
                audio.Object,
                aboutInfo.Object,
                aboutController.Object,
                keyboard.Object,
                logger.Object,
                logInfo.Object,
                logController.Object,
                powerSupply.Object,
                systemInfo.Object,
                taskbar.Object,
                taskbarSettings,
                terminationActivator.Object,
                text.Object,
                uiFactory.Object,
                wirelessAdapter.Object);
        }
 public ShellOperation(
     IActionCenter actionCenter,
     IEnumerable <IActionCenterActivator> activators,
     ActionCenterSettings actionCenterSettings,
     IAudio audio,
     INotificationInfo aboutInfo,
     INotificationController aboutController,
     IKeyboard keyboard,
     ILogger logger,
     INotificationInfo logInfo,
     INotificationController logController,
     IPowerSupply powerSupply,
     ISystemInfo systemInfo,
     ITaskbar taskbar,
     TaskbarSettings taskbarSettings,
     ITerminationActivator terminationActivator,
     IText text,
     IUserInterfaceFactory uiFactory,
     IWirelessAdapter wirelessAdapter)
 {
     this.aboutInfo            = aboutInfo;
     this.aboutController      = aboutController;
     this.actionCenter         = actionCenter;
     this.activators           = activators;
     this.actionCenterSettings = actionCenterSettings;
     this.audio                = audio;
     this.keyboard             = keyboard;
     this.logger               = logger;
     this.logInfo              = logInfo;
     this.logController        = logController;
     this.powerSupply          = powerSupply;
     this.systemInfo           = systemInfo;
     this.taskbarSettings      = taskbarSettings;
     this.terminationActivator = terminationActivator;
     this.text            = text;
     this.taskbar         = taskbar;
     this.uiFactory       = uiFactory;
     this.wirelessAdapter = wirelessAdapter;
 }
Esempio n. 6
0
 public ShellOperation(
     IActionCenter actionCenter,
     IEnumerable <IActionCenterActivator> activators,
     ActionCenterSettings actionCenterSettings,
     ILogger logger,
     INotificationInfo aboutInfo,
     INotificationController aboutController,
     INotificationInfo logInfo,
     INotificationController logController,
     ISystemComponent <ISystemKeyboardLayoutControl> keyboardLayout,
     ISystemComponent <ISystemPowerSupplyControl> powerSupply,
     ISystemComponent <ISystemWirelessNetworkControl> wirelessNetwork,
     ISystemInfo systemInfo,
     ITaskbar taskbar,
     TaskbarSettings taskbarSettings,
     ITerminationActivator terminationActivator,
     IText text,
     IUserInterfaceFactory uiFactory)
 {
     this.aboutInfo            = aboutInfo;
     this.aboutController      = aboutController;
     this.actionCenter         = actionCenter;
     this.activators           = activators;
     this.actionCenterSettings = actionCenterSettings;
     this.logger               = logger;
     this.logInfo              = logInfo;
     this.logController        = logController;
     this.keyboardLayout       = keyboardLayout;
     this.powerSupply          = powerSupply;
     this.systemInfo           = systemInfo;
     this.taskbarSettings      = taskbarSettings;
     this.terminationActivator = terminationActivator;
     this.text            = text;
     this.taskbar         = taskbar;
     this.uiFactory       = uiFactory;
     this.wirelessNetwork = wirelessNetwork;
 }