Class MinioBlobProvider
Inheritance
object
MinioBlobProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.BlobStoring.Minio.dll
Syntax
public class MinioBlobProvider : BlobProviderBase, IBlobProvider, ITransientDependency
Constructors
MinioBlobProvider(IMinioBlobNameCalculator, IBlobNormalizeNamingService)
Declaration
public MinioBlobProvider(IMinioBlobNameCalculator minioBlobNameCalculator, IBlobNormalizeNamingService blobNormalizeNamingService)
Parameters
Properties
BlobNormalizeNamingService
Declaration
protected IBlobNormalizeNamingService BlobNormalizeNamingService { get; }
Property Value
MinioBlobNameCalculator
Declaration
protected IMinioBlobNameCalculator MinioBlobNameCalculator { get; }
Property Value
Methods
BlobExistsAsync(MinioClient, string, string)
Declaration
protected virtual Task<bool> BlobExistsAsync(MinioClient client, string containerName, string blobName)
Parameters
| Type |
Name |
Description |
| Minio.MinioClient |
client |
|
| string |
containerName |
|
| string |
blobName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
CreateBucketIfNotExists(MinioClient, string)
Declaration
protected virtual Task CreateBucketIfNotExists(MinioClient client, string containerName)
Parameters
| Type |
Name |
Description |
| Minio.MinioClient |
client |
|
| string |
containerName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
DeleteAsync(BlobProviderDeleteArgs)
Declaration
public override Task<bool> DeleteAsync(BlobProviderDeleteArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
Overrides
ExistsAsync(BlobProviderExistsArgs)
Declaration
public override Task<bool> ExistsAsync(BlobProviderExistsArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
Overrides
GetContainerName(BlobProviderArgs)
Declaration
protected virtual string GetContainerName(BlobProviderArgs args)
Parameters
Returns
GetMinioClient(BlobProviderArgs)
Declaration
protected virtual MinioClient GetMinioClient(BlobProviderArgs args)
Parameters
Returns
| Type |
Description |
| Minio.MinioClient |
|
GetOrNullAsync(BlobProviderGetArgs)
Declaration
public override Task<Stream> GetOrNullAsync(BlobProviderGetArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.IO.Stream> |
|
Overrides
SaveAsync(BlobProviderSaveArgs)
Declaration
public override Task SaveAsync(BlobProviderSaveArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Implements
Extension Methods