コード例 #1
0
ファイル: FileHandler.cs プロジェクト: StefanLaiu/fx-core
 FileHandler(IValidator validator, IOptions <FileHandlerSettings> settings, string rootPath)
 {
     _validator = validator;
     _settings  = settings.Value;
     RootPath   = rootPath;
 }
コード例 #2
0
 public FileHandlerHelper(FileHandlerSettings settings)
 {
     _settings = settings ?? throw new ArgumentNullException(nameof(settings));
 }