public PhysicalStorageProvider(PhysicalStorageOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } _Options = options; }
public PhysicalStorage(PhysicalStorageOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (options.Root == null) { throw new ArgumentException(); } if (options.FolderSelector == null) { throw new ArgumentException(); } if (options.FilenameSelector == null) { throw new ArgumentException(); } _Options = options; }