C# 클래스 TwentyTwenty.Storage.Azure.AzureStorageProvider

상속: IStorageProvider
파일 보기 프로젝트 열기: 2020IP/TwentyTwenty.Storage

공개 메소드들

메소드 설명
AzureStorageProvider ( AzureProviderOptions options ) : Microsoft.WindowsAzure.Storage
DeleteBlobAsync ( string containerName, string blobName ) : System.Threading.Tasks.Task
DeleteContainerAsync ( string containerName ) : System.Threading.Tasks.Task
GetBlobDescriptorAsync ( string containerName, string blobName ) : Task
GetBlobSasUrl ( string containerName, string blobName, DateTimeOffset expiry, bool isDownload = false, string filename = null, string contentType = null, BlobUrlAccess access = BlobUrlAccess.Read ) : string
GetBlobStreamAsync ( string containerName, string blobName ) : Task
GetBlobUrl ( string containerName, string blobName ) : string
ListBlobsAsync ( string containerName ) : Task>
SaveBlobStreamAsync ( string containerName, string blobName, Stream source, Microsoft.WindowsAzure.Storage.Blob.BlobProperties properties = null, bool closeStream = true ) : System.Threading.Tasks.Task
UpdateBlobPropertiesAsync ( string containerName, string blobName, Microsoft.WindowsAzure.Storage.Blob.BlobProperties properties ) : System.Threading.Tasks.Task

메소드 상세

AzureStorageProvider() 공개 메소드

public AzureStorageProvider ( AzureProviderOptions options ) : Microsoft.WindowsAzure.Storage
options AzureProviderOptions
리턴 Microsoft.WindowsAzure.Storage

DeleteBlobAsync() 공개 메소드

public DeleteBlobAsync ( string containerName, string blobName ) : System.Threading.Tasks.Task
containerName string
blobName string
리턴 System.Threading.Tasks.Task

DeleteContainerAsync() 공개 메소드

public DeleteContainerAsync ( string containerName ) : System.Threading.Tasks.Task
containerName string
리턴 System.Threading.Tasks.Task

GetBlobDescriptorAsync() 공개 메소드

public GetBlobDescriptorAsync ( string containerName, string blobName ) : Task
containerName string
blobName string
리턴 Task

GetBlobSasUrl() 공개 메소드

public GetBlobSasUrl ( string containerName, string blobName, DateTimeOffset expiry, bool isDownload = false, string filename = null, string contentType = null, BlobUrlAccess access = BlobUrlAccess.Read ) : string
containerName string
blobName string
expiry DateTimeOffset
isDownload bool
filename string
contentType string
access BlobUrlAccess
리턴 string

GetBlobStreamAsync() 공개 메소드

public GetBlobStreamAsync ( string containerName, string blobName ) : Task
containerName string
blobName string
리턴 Task

GetBlobUrl() 공개 메소드

public GetBlobUrl ( string containerName, string blobName ) : string
containerName string
blobName string
리턴 string

ListBlobsAsync() 공개 메소드

public ListBlobsAsync ( string containerName ) : Task>
containerName string
리턴 Task>

SaveBlobStreamAsync() 공개 메소드

public SaveBlobStreamAsync ( string containerName, string blobName, Stream source, Microsoft.WindowsAzure.Storage.Blob.BlobProperties properties = null, bool closeStream = true ) : System.Threading.Tasks.Task
containerName string
blobName string
source Stream
properties Microsoft.WindowsAzure.Storage.Blob.BlobProperties
closeStream bool
리턴 System.Threading.Tasks.Task

UpdateBlobPropertiesAsync() 공개 메소드

public UpdateBlobPropertiesAsync ( string containerName, string blobName, Microsoft.WindowsAzure.Storage.Blob.BlobProperties properties ) : System.Threading.Tasks.Task
containerName string
blobName string
properties Microsoft.WindowsAzure.Storage.Blob.BlobProperties
리턴 System.Threading.Tasks.Task