public SonarrProcessorService(ILogger <RadarrService> logger, ISettingsService settingsService, IFolderMappingService folderMappingService, INotificationService <SonarrWebhookPayload> sonarrService, IPlexAutoscanProxy plexAutoscanProxy) { this.plexAutoscanProxy = plexAutoscanProxy; this.sonarrService = sonarrService; this.folderMappingService = folderMappingService; this.settingsService = settingsService; this.logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="RanttConfiguration"/> class. /// </summary> /// <param name="autoLoad"> /// The value to indicating if configuration class makes attempt to read data from file system whenever when configuration key is changed. /// </param> public RanttConfiguration(IFolderMappingService foldersService, bool autoLoad) { CurrentWorkspace = null; _foldersService = foldersService; this.autoLoad = autoLoad; }
/// <summary> /// Initializes a new instance of the <see cref="RanttConfiguration"/> class. /// </summary> public RanttConfiguration(IFolderMappingService foldersService) : this(foldersService, true) { }