C# 클래스 Telerik.Sitefinity.Azure.BlobStorage.AzureBlobStorageProvider

Implements a logic for persisting BLOB data in Azure Blob Storage
상속: CloudBlobStorageProvider
파일 보기 프로젝트 열기: Sitefinity/azure-blob-storage-provider

공개 메소드들

메소드 설명
BlobExists ( IBlobContentLocation location ) : bool
Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void
Delete ( IBlobContentLocation content ) : void
DownloadToStream ( IBlobContent content, Stream target ) : void

Downloads a content to the stream

GetDownloadStream ( IBlobContent content ) : Stream

Gets the download stream.

GetItemUrl ( IBlobContentLocation content ) : string
GetProperties ( IBlobContentLocation location ) : IBlobProperties
GetUploadStream ( IBlobContent content ) : Stream

Gets the upload stream.

HasSameLocation ( BlobStorageProvider other ) : bool
Move ( IBlobContentLocation source, IBlobContentLocation destination ) : void
SetProperties ( IBlobContentLocation content, IBlobProperties properties ) : void

보호된 메소드들

메소드 설명
CreateBlobClient ( NameValueCollection config ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient

Creates a blob client

InitializeStorage ( NameValueCollection config ) : void

Initializes the storage.

비공개 메소드들

메소드 설명
GetBlob ( IBlobContentLocation blobLocation ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob
GetBlobPath ( IBlobContentLocation content ) : string
GetOrCreateContainer ( string name ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer

메소드 상세

BlobExists() 공개 메소드

public BlobExists ( IBlobContentLocation location ) : bool
location IBlobContentLocation
리턴 bool

Copy() 공개 메소드

public Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void
source IBlobContentLocation
destination IBlobContentLocation
리턴 void

CreateBlobClient() 보호된 메소드

Creates a blob client
protected CreateBlobClient ( NameValueCollection config ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
config System.Collections.Specialized.NameValueCollection The config to use
리턴 Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient

Delete() 공개 메소드

public Delete ( IBlobContentLocation content ) : void
content IBlobContentLocation
리턴 void

DownloadToStream() 공개 메소드

Downloads a content to the stream
public DownloadToStream ( IBlobContent content, Stream target ) : void
content IBlobContent The content
target Stream The target stream
리턴 void

GetDownloadStream() 공개 메소드

Gets the download stream.
public GetDownloadStream ( IBlobContent content ) : Stream
content IBlobContent The content.
리턴 Stream

GetItemUrl() 공개 메소드

public GetItemUrl ( IBlobContentLocation content ) : string
content IBlobContentLocation
리턴 string

GetProperties() 공개 메소드

public GetProperties ( IBlobContentLocation location ) : IBlobProperties
location IBlobContentLocation
리턴 IBlobProperties

GetUploadStream() 공개 메소드

Gets the upload stream.
public GetUploadStream ( IBlobContent content ) : Stream
content IBlobContent The content.
리턴 Stream

HasSameLocation() 공개 메소드

public HasSameLocation ( BlobStorageProvider other ) : bool
other BlobStorageProvider
리턴 bool

InitializeStorage() 보호된 메소드

Initializes the storage.
protected InitializeStorage ( NameValueCollection config ) : void
config System.Collections.Specialized.NameValueCollection The config.
리턴 void

Move() 공개 메소드

public Move ( IBlobContentLocation source, IBlobContentLocation destination ) : void
source IBlobContentLocation
destination IBlobContentLocation
리턴 void

SetProperties() 공개 메소드

public SetProperties ( IBlobContentLocation content, IBlobProperties properties ) : void
content IBlobContentLocation
properties IBlobProperties
리턴 void