/// <summary> /// Constructor /// </summary> /// <param name="supportedMediaFileTypesFilter"></param> /// <param name="fileListFromPath"></param> /// <param name="pathToScan"></param> public MediaFiles(ISupportedMediaFileTypesFilter supportedMediaFileTypesFilter, IFileListFromPath fileListFromPath, IPathToScan pathToScan) { _filesToScan = fileListFromPath ?? throw new ArgumentNullException(nameof(fileListFromPath)); _pathToScan = pathToScan ?? throw new ArgumentNullException(nameof(pathToScan)); _supportedFileTypes = supportedMediaFileTypesFilter ?? throw new ArgumentNullException(nameof(supportedMediaFileTypesFilter)); }
public PowerShellScriptsRaw(IFileListFromPath fileListFromPath, IScriptPaths scriptPaths) { _fileListFromPath = fileListFromPath ?? throw new ArgumentNullException(nameof(fileListFromPath)); _scriptPaths = scriptPaths ?? throw new ArgumentNullException(nameof(scriptPaths)); }
/// <summary> /// Constructor /// </summary> /// <param name="app"></param> /// <param name="fileListFromPath"></param> public ListFromFileSystem(App app, IFileListFromPath fileListFromPath) { _app = app ?? throw new ArgumentNullException(nameof(app)); _fileListFromPath = fileListFromPath ?? throw new ArgumentNullException(nameof(fileListFromPath)); }