/// <summary> /// Use this Instance to handle setting Wallpapers /// </summary> /// <param name="wallpaperSetterSettings"></param> /// <param name="httpClientFactory"></param> // ReSharper disable once MemberCanBeProtected.Global public WallpaperSetter( IWallpaperSetterSettings wallpaperSetterSettings, IHttpClientFactory httpClientFactory) { _wallpaperSetterSettings = wallpaperSetterSettings; _httpClientFactory = httpClientFactory; _monitors = GetMonitors().ToList(); }
/// <summary> /// Use this Instance to handle setting Wallpapers /// </summary> /// <param name="wallpaperSetterSettings"></param> /// <param name="httpClientFactory"></param> // ReSharper disable once MemberCanBeProtected.Global public WallpaperSetter( IWallpaperSetterSettings wallpaperSetterSettings, IHttpClientFactory httpClientFactory) { _wallpaperSetterSettings = wallpaperSetterSettings; _httpClientFactory = httpClientFactory; _monitors = GetMonitors().ToList(); SystemEvents.DisplaySettingsChanged += SystemEvents_DisplaySettingsChanged; _wallpaperSetterSettings.SplitSettingsChanged += Settings_SplitSettingsChanged; }