C# Class Platform.ViewClients.AzureViewContainer

Windows Azure implementation of storage
Inheritance: IRawViewContainer
Show file Open project: Lokad/lokad-data-platform

Public Methods

Method Description
AzureViewContainer ( Microsoft.WindowsAzure.StorageClient.CloudBlobDirectory directory ) : System

Initializes a new instance of the AzureViewContainer class.

ContainerExists ( ) : bool
DeleteContainer ( ) : void

Deletes this container

EnsureContainerExists ( ) : IRawViewContainer
GetContainer ( string containerName ) : IRawViewContainer
ItemExists ( string itemName ) : bool
ListAllNestedItems ( ) : IEnumerable
ListAllNestedItemsWithDetail ( ) : IEnumerable
OpenRead ( string itemName ) : Stream
OpenWrite ( string itemName ) : Stream
TryDeleteItem ( string itemName ) : void

Method Details

AzureViewContainer() public method

Initializes a new instance of the AzureViewContainer class.
public AzureViewContainer ( Microsoft.WindowsAzure.StorageClient.CloudBlobDirectory directory ) : System
directory Microsoft.WindowsAzure.StorageClient.CloudBlobDirectory The directory.
return System

ContainerExists() public method

public ContainerExists ( ) : bool
return bool

DeleteContainer() public method

Deletes this container
public DeleteContainer ( ) : void
return void

EnsureContainerExists() public method

public EnsureContainerExists ( ) : IRawViewContainer
return IRawViewContainer

GetContainer() public method

public GetContainer ( string containerName ) : IRawViewContainer
containerName string
return IRawViewContainer

ItemExists() public method

public ItemExists ( string itemName ) : bool
itemName string
return bool

ListAllNestedItems() public method

public ListAllNestedItems ( ) : IEnumerable
return IEnumerable

ListAllNestedItemsWithDetail() public method

public ListAllNestedItemsWithDetail ( ) : IEnumerable
return IEnumerable

OpenRead() public method

public OpenRead ( string itemName ) : Stream
itemName string
return Stream

OpenWrite() public method

public OpenWrite ( string itemName ) : Stream
itemName string
return Stream

TryDeleteItem() public method

public TryDeleteItem ( string itemName ) : void
itemName string
return void