public static ScreenShotEngine GetScreenShotEngine(GeneralSettings genSett, ImageSettings imgSett) { LazyInitializer.EnsureInitialized(ref _screenShotEngine, () => new ScreenShotEngine(genSett, imgSett)); return _screenShotEngine; }
private ScreenShotEngine(GeneralSettings genSett, ImageSettings imgSett) { _generalSettings = genSett; _imageSettings = imgSett; //todo: описание создания HotkeyManager //HotkeyManager = new HotkeyManager(); //HotkeyManager.HotkeyTrigger += _hotkeyManager_HotkeyTrigger; //HotkeyManager.UpdateHotkeys(applicationConfig.Hotkeys); }