mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-29 20:04:18 +01:00
23 lines
818 B
C#
23 lines
818 B
C#
using System.Threading.Tasks;
|
|
using BTCPayServer.Storage.Models;
|
|
using BTCPayServer.Storage.Services.Providers.AzureBlobStorage.Configuration;
|
|
using TwentyTwenty.Storage;
|
|
using TwentyTwenty.Storage.Azure;
|
|
|
|
namespace BTCPayServer.Storage.Services.Providers.AzureBlobStorage
|
|
{
|
|
public class
|
|
AzureBlobStorageFileProviderService : BaseTwentyTwentyStorageFileProviderServiceBase<
|
|
AzureBlobStorageConfiguration>
|
|
{
|
|
public override StorageProvider StorageProvider()
|
|
{
|
|
return Storage.Models.StorageProvider.AzureBlobStorage;
|
|
}
|
|
protected override Task<IStorageProvider> GetStorageProvider(AzureBlobStorageConfiguration configuration)
|
|
{
|
|
return Task.FromResult<IStorageProvider>(new AzureStorageProvider(configuration));
|
|
}
|
|
}
|
|
}
|