Show / Hide Table of Contents

Class GoogleBlobProvider

Inheritance
object
BlobProviderBase
GoogleBlobProvider
Implements
IBlobProvider
ITransientDependency
Inherited Members
BlobProviderBase.TryCopyToMemoryStreamAsync(Stream, CancellationToken)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlobStoring.Google
Assembly: Volo.Abp.BlobStoring.Google.dll
Syntax
public class GoogleBlobProvider : BlobProviderBase, IBlobProvider, ITransientDependency

Constructors

GoogleBlobProvider(IGoogleBlobNameCalculator, IBlobNormalizeNamingService)

Declaration
public GoogleBlobProvider(IGoogleBlobNameCalculator googleBlobNameCalculator, IBlobNormalizeNamingService blobNormalizeNamingService)
Parameters
Type Name Description
IGoogleBlobNameCalculator googleBlobNameCalculator
IBlobNormalizeNamingService blobNormalizeNamingService

Properties

BlobNormalizeNamingService

Declaration
protected IBlobNormalizeNamingService BlobNormalizeNamingService { get; }
Property Value
Type Description
IBlobNormalizeNamingService

GoogleBlobNameCalculator

Declaration
protected IGoogleBlobNameCalculator GoogleBlobNameCalculator { get; }
Property Value
Type Description
IGoogleBlobNameCalculator

Methods

BlobExistsAsync(BlobProviderArgs, string)

Declaration
protected virtual Task<bool> BlobExistsAsync(BlobProviderArgs args, string blobName)
Parameters
Type Name Description
BlobProviderArgs args
string blobName
Returns
Type Description
Task<bool>

ContainerExistsAsync(BlobProviderArgs, StorageClient)

Declaration
protected virtual Task<bool> ContainerExistsAsync(BlobProviderArgs args, StorageClient client)
Parameters
Type Name Description
BlobProviderArgs args
StorageClient client
Returns
Type Description
Task<bool>

CreateContainerIfNotExists(BlobProviderArgs)

Declaration
protected virtual Task CreateContainerIfNotExists(BlobProviderArgs args)
Parameters
Type Name Description
BlobProviderArgs args
Returns
Type Description
Task

DeleteAsync(BlobProviderDeleteArgs)

Declaration
public override Task<bool> DeleteAsync(BlobProviderDeleteArgs args)
Parameters
Type Name Description
BlobProviderDeleteArgs args
Returns
Type Description
Task<bool>
Overrides
BlobProviderBase.DeleteAsync(BlobProviderDeleteArgs)

ExistsAsync(BlobProviderExistsArgs)

Declaration
public override Task<bool> ExistsAsync(BlobProviderExistsArgs args)
Parameters
Type Name Description
BlobProviderExistsArgs args
Returns
Type Description
Task<bool>
Overrides
BlobProviderBase.ExistsAsync(BlobProviderExistsArgs)

GetContainerName(BlobProviderArgs)

Declaration
protected virtual string GetContainerName(BlobProviderArgs args)
Parameters
Type Name Description
BlobProviderArgs args
Returns
Type Description
string

GetOrNullAsync(BlobProviderGetArgs)

Declaration
public override Task<Stream?> GetOrNullAsync(BlobProviderGetArgs args)
Parameters
Type Name Description
BlobProviderGetArgs args
Returns
Type Description
Task<Stream>
Overrides
BlobProviderBase.GetOrNullAsync(BlobProviderGetArgs)

GetStorageClientClientAsync(BlobProviderArgs)

Declaration
protected virtual Task<StorageClient> GetStorageClientClientAsync(BlobProviderArgs args)
Parameters
Type Name Description
BlobProviderArgs args
Returns
Type Description
Task<StorageClient>

SaveAsync(BlobProviderSaveArgs)

Declaration
public override Task SaveAsync(BlobProviderSaveArgs args)
Parameters
Type Name Description
BlobProviderSaveArgs args
Returns
Type Description
Task
Overrides
BlobProviderBase.SaveAsync(BlobProviderSaveArgs)

Implements

IBlobProvider
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform