Exemple #1
0
            public async ValueTask <IPublishStorage> CreateAsync(string configPath, PublishStorageOptions options, IObjectStoreFactory objectStoreFactory, IBytesPool bytesPool)
            {
                var result = new PublishStorage(configPath, options, objectStoreFactory, bytesPool);
                await result.InitAsync();

                return(result);
            }
Exemple #2
0
 internal PublishStorage(string configPath, PublishStorageOptions options, IObjectStoreFactory objectStoreFactory, IBytesPool bytesPool)
 {
     _configPath = configPath;
     _bytesPool  = bytesPool;
 }