public FavoriteRenameCommand(IPersistence persistence, IRenameService service) { this.persistence = persistence; this.service = service; this.favorites = persistence.Favorites; this.validator = new FavoriteNameValidator(this.persistence); }
public CodeAction0(IWorkspace workspace, IRenameService renameService, IDocument document, ISymbol symbol) { this.workspace = workspace; this.renameService = renameService; this.document = document; this.symbol = symbol; }
public ChangeNamingTemplateService(ILogger <ChangeNamingTemplateService> logger, IPdbApiService pdbApi, IRenameService renameService, IVideoQualityProdiver videoQualityProdiver, IOptions <RenameServiceOptions> renameServiceOptions) { this.logger = logger; this.pdbApi = pdbApi; this.renameService = renameService; this.videoQualityProdiver = videoQualityProdiver; this.renameServiceOptions = renameServiceOptions.Value; }
public CodeAction1(ICodeActionEditFactory editFactory, IWorkspace workspace, IRenameService renameService, IDocument document, ISymbol symbol) { this.editFactory = editFactory; this.workspace = workspace; this.renameService = renameService; this.document = document; this.symbol = symbol; }
public MainFormController() { Guard = ServiceLocator.GetInstance<IGuard>(); projectService = ServiceLocator.GetInstance<IProjectService>(); aboutboxService = ServiceLocator.GetInstance<IAboutBoxService>(); settingsFormService = ServiceLocator.GetInstance<ISettingsFormService>(); confirmationDialogService = ServiceLocator.GetInstance<IConfirmationDialogService>(); renamerService = ServiceLocator.GetInstance<IRenameService>(); errorDialogService = ServiceLocator.GetInstance<IErrorDialogService>(); updateService = ServiceLocator.GetInstance<IUpdateService>(); }
public UsenetDownloadService(ILogger <IUsenetDownloadService> logger, IOptions <UsenetDownloadServiceOptions> options, IRenameService renameService, IPdbApiService pdbApiService, IVideoQualityProdiver videoQualityProdiver, ISabnzbdService sabnzbdService, INzbgetService nzbgetService, IVideoMatching videoMatching) { this.logger = logger; this.options = options.Value; this.renameService = renameService; this.pdbApiService = pdbApiService; this.videoQualityProdiver = videoQualityProdiver; this.sabnzbdService = sabnzbdService; this.nzbgetService = nzbgetService; this.videoMatching = videoMatching; }
/// <summary> /// Service used for sorting files and <see cref="Photo" /> using datetimes. /// </summary> public SortService(ILogger <ISortService> logger, IConfiguration config, IRenameService renameService) { _logger = logger; _renameService = renameService; // set output path to "output" argument or current directory _outputPath = config.GetValue <string>("output"); if (_outputPath is null) { _logger.LogInformation("Output directory is null. Using current directory as output directory."); _outputPath ??= Directory.GetCurrentDirectory(); } else { _logger.LogDebug($"Using { _outputPath } as output directory."); } // Enumerate directories in output path OutputDirectories = EnumerateDirectoryStructure(_outputPath); _unknownDirectoryExists = false; }
public RenameWorkflow(IRenameService renameService, IFileOperatingService fileOperatingService) { this.renameService = renameService; this.fileOperatingService = fileOperatingService; }
public SortingService(IRenameService renameService) { _renameService = renameService; }
public RenameServiceFacade(IRenameService renameService, IUndoService undoService) { RenameService = renameService; UndoService = undoService; }