C# Класс Telerik.Sitefinity.Azure.BlobStorage.AzureBlobStorageProvider

Implements a logic for persisting BLOB data in Azure Blob Storage
Наследование: CloudBlobStorageProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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