예제 #1
0
        public StorageFileSystem(Options.IConfiguration configuration)
        {
            _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));

            _file      = new StorageFileProvider(this);
            _directory = new StorageDirectoryProvider(this);
            _pool      = new ConcurrentDictionary <string, StorageClient>();
        }
예제 #2
0
 public StorageFileSystem()
 {
     _file      = new StorageFileProvider(this);
     _directory = new StorageDirectoryProvider(this);
     _pool      = new ConcurrentDictionary <string, StorageClient>();
 }