Beispiel #1
0
 /// <summary>
 ///     Construtor.
 /// </summary>
 /// <param name="messageBus">Barramento de mensagens.</param>
 /// <param name="lockScreen">Bloqueador de telas.</param>
 public WindowHandler(
     IMediator messageBus,
     ILockScreen lockScreen)
 {
     _messageBus = messageBus;
     _lockScreen = lockScreen;
 }
 /// <summary>
 ///     Construtor.
 /// </summary>
 /// <param name="messageBus">IMediator</param>
 /// <param name="shortcut">Configurações de teclas de atalho.</param>
 /// <param name="lockScreen">Bloqueador de telas.</param>
 public ApplicationHandler(
     IMediator messageBus,
     IShortcut shortcut,
     ILockScreen lockScreen)
 {
     _messageBus = messageBus;
     _shortcut   = shortcut;
     _lockScreen = lockScreen;
 }
 /// <summary>
 /// Construtor.
 /// </summary>
 /// <param name="messageBus">Barramento de mensagens.</param>
 /// <param name="lockScreen">Bloqueador de telas.</param>
 public UserActionHandler(IMediator messageBus, ILockScreen lockScreen)
 {
     _messageBus = messageBus;
     _lockScreen = lockScreen;
 }
 public SetLockScreenHandler(ApplicationSettings settings, ILockScreen lockScreen, IStatusService statusService)
 {
     _settings      = settings;
     _lockScreen    = lockScreen;
     _statusService = statusService;
 }