Class AwsBlobProvider
Inheritance
object
AwsBlobProvider
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.Aws.dll
Syntax
public class AwsBlobProvider : BlobProviderBase, IBlobProvider, ITransientDependency
Constructors
AwsBlobProvider(IAwsBlobNameCalculator, IAmazonS3ClientFactory, IBlobNormalizeNamingService)
Declaration
public AwsBlobProvider(IAwsBlobNameCalculator awsBlobNameCalculator, IAmazonS3ClientFactory amazonS3ClientFactory, IBlobNormalizeNamingService blobNormalizeNamingService)
Parameters
Properties
AmazonS3ClientFactory
Declaration
protected IAmazonS3ClientFactory AmazonS3ClientFactory { get; }
Property Value
AwsBlobNameCalculator
Declaration
protected IAwsBlobNameCalculator AwsBlobNameCalculator { get; }
Property Value
BlobNormalizeNamingService
Declaration
protected IBlobNormalizeNamingService BlobNormalizeNamingService { get; }
Property Value
Methods
BlobExistsAsync(AmazonS3Client, string, string)
Declaration
protected virtual Task<bool> BlobExistsAsync(AmazonS3Client amazonS3Client, string containerName, string blobName)
Parameters
| Type |
Name |
Description |
| Amazon.S3.AmazonS3Client |
amazonS3Client |
|
| string |
containerName |
|
| string |
blobName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
CreateContainerIfNotExists(AmazonS3Client, string)
Declaration
protected virtual Task CreateContainerIfNotExists(AmazonS3Client amazonS3Client, string containerName)
Parameters
| Type |
Name |
Description |
| Amazon.S3.AmazonS3Client |
amazonS3Client |
|
| 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
GetAmazonS3Client(BlobProviderArgs)
Declaration
protected virtual Task<AmazonS3Client> GetAmazonS3Client(BlobProviderArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Amazon.S3.AmazonS3Client> |
|
GetContainerName(BlobProviderArgs)
Declaration
protected virtual string GetContainerName(BlobProviderArgs args)
Parameters
Returns
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