Show / Hide Table of Contents

Class BlobContainerExtensions

Inheritance
object
BlobContainerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlobStoring
Assembly: Volo.Abp.BlobStoring.dll
Syntax
public static class BlobContainerExtensions

Methods

GetAllBytesAsync(IBlobContainer, string, CancellationToken)

Declaration
public static Task<byte[]> GetAllBytesAsync(this IBlobContainer container, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IBlobContainer container
string name
CancellationToken cancellationToken
Returns
Type Description
Task<byte[]>

GetAllBytesOrNullAsync(IBlobContainer, string, CancellationToken)

Declaration
public static Task<byte[]?> GetAllBytesOrNullAsync(this IBlobContainer container, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IBlobContainer container
string name
CancellationToken cancellationToken
Returns
Type Description
Task<byte[]>

SaveAsync(IBlobContainer, string, byte[], bool, CancellationToken)

Declaration
public static Task SaveAsync(this IBlobContainer container, string name, byte[] bytes, bool overrideExisting = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IBlobContainer container
string name
byte[] bytes
bool overrideExisting
CancellationToken cancellationToken
Returns
Type Description
Task
In this article
Back to top Powered by ABP.IO Platform