Method | Description | |
---|---|---|
BlobExists ( IBlobContentLocation location ) : bool |
Determines whether a blob item under the specified location exists.
|
|
Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void |
Copies the source content to the specified destination on the remote blob storage.
|
|
Delete ( IBlobContentLocation location ) : void |
Deletes the blob item stored under the specified blob location
|
|
GetDownloadStream ( IBlobContent content ) : Stream |
Gets the download stream for a specific content..
|
|
GetItemUrl ( IBlobContentLocation content ) : string |
Resolves the content item's external URL on the remote blob storage.
|
|
GetProperties ( IBlobContentLocation location ) : IBlobProperties |
Gets the content type, cache control settings, etc. of a blob.
|
|
GetUploadStream ( IBlobContent content ) : Stream |
Gets the upload stream for a specific content.
|
|
SetProperties ( IBlobContentLocation location, IBlobProperties properties ) : void |
Sets the properties, like cacheControl, content type, etc.
|
|
Upload ( IBlobContent content, Stream source, int bufferSize ) : long |
Uploads the specified content item to the remote blob storage.
|
Method | Description | |
---|---|---|
InitializeStorage ( |
Initializes access to the remote storage.
|
public BlobExists ( IBlobContentLocation location ) : bool | ||
location | IBlobContentLocation | Descriptor of the item on the remote blob storage. |
return | bool |
public Copy ( IBlobContentLocation source, IBlobContentLocation destination ) : void | ||
source | IBlobContentLocation | Descriptor of the source item on the remote blob storage. |
destination | IBlobContentLocation | Descriptor of the destination item on the remote blob storage. |
return | void |
public Delete ( IBlobContentLocation location ) : void | ||
location | IBlobContentLocation | Descriptor of the item on the remote blob storage. |
return | void |
public GetDownloadStream ( IBlobContent content ) : Stream | ||
content | IBlobContent | Descriptor of the item on the remote blob storage. |
return | Stream |
public GetItemUrl ( IBlobContentLocation content ) : string | ||
content | IBlobContentLocation | Descriptor of the item on the remote blob storage for which to retrieve the URL. |
return | string |
public GetProperties ( IBlobContentLocation location ) : IBlobProperties | ||
location | IBlobContentLocation | Descriptor of the item on the remote blob storage. |
return | IBlobProperties |
public GetUploadStream ( IBlobContent content ) : Stream | ||
content | IBlobContent | Descriptor of the item on the remote blob storage. |
return | Stream |
protected InitializeStorage ( |
||
config | The collection of parameters (each by its name and value) of the current provider's configuration settings. | |
return | void |
public SetProperties ( IBlobContentLocation location, IBlobProperties properties ) : void | ||
location | IBlobContentLocation | Descriptor of the item on the remote blob storage. |
properties | IBlobProperties | The properties to set. |
return | void |
public Upload ( IBlobContent content, Stream source, int bufferSize ) : long | ||
content | IBlobContent | Descriptor of the item on the remote blob storage. |
source | Stream | The source item's content stream. |
bufferSize | int | Size of the upload buffer. |
return | long |