public DataSourceService( IImagePersistenceService imagePersistenceService, IActiveWindowService activeWindowService, IWindowNativeApi windowNativeApi, IKeyValueCache <IntPtr, byte[]> dataSourceIconCacheSmall, IKeyValueCache <IntPtr, byte[]> dataSourceIconCacheLarge) { this.imagePersistenceService = imagePersistenceService; this.activeWindowService = activeWindowService; this.windowNativeApi = windowNativeApi; this.dataSourceIconCacheLarge = dataSourceIconCacheLarge; this.dataSourceIconCacheSmall = dataSourceIconCacheSmall; }
public MainWindowPreparationOperation( IMainWindow mainWindow, IClipboardUserInterfaceInteractionMediator clipboardUserInterfaceInteractionMediator, IMainWindowHandleContainer handleContainer, IKeyInterceptor keyInterceptor, IWindowMessageHook windowMessageHook, ISourceClipboardQuantityOverlay sourceClipboardQuantityOverlay, ILogger logger, IActiveWindowService activeWindowService) { this.mainWindow = mainWindow; this.clipboardUserInterfaceInteractionMediator = clipboardUserInterfaceInteractionMediator; this.handleContainer = handleContainer; this.keyInterceptor = keyInterceptor; this.windowMessageHook = windowMessageHook; this.sourceClipboardQuantityOverlay = sourceClipboardQuantityOverlay; this.logger = logger; this.activeWindowService = activeWindowService; SetupWindowMessageHook(); }
public Overlay( IApplicationContext context, IActiveWindowService activeWindowService, IFontService fontService, IMenuLoader menuLoader, IEnumerable <IInputHandler> inputHandlers) { this.InitializeComponent(); context.Overlay = this; //TODO better solution for this? this.activeWindowService = activeWindowService; this.fontService = fontService; this.menuLoader = menuLoader; this.inputHandlers = inputHandlers; this.primaryMenuContainer = new MenuPanel(); this.secondaryMenuContainer = new MenuPanel { Visible = false }; this.activeMenuContainer = this.primaryMenuContainer; }
public HotkeyConditionServiceFactory(IActiveWindowService activeWindowService) { _activeWindowService = activeWindowService; }
public HotkeyConditionService(IActiveWindowService activeWindowService, IGameValueService gameValueService) { _activeWindowService = activeWindowService; _gameValueService = gameValueService; }