public IIndexedBlobStoreClient Create(string storeName, IIndexedBlobCache cache) { var table = _tableClient.GetTableReference(string.Format("{0}index", storeName)); table.CreateIfNotExists(); var container = _blobClient.GetContainerReference(string.Format("{0}-blobs", storeName)); container.CreateIfNotExists(); cache.CreateIfNotExists(); return(new IndexedBlobStoreClient(new CloudIndexedBlobStore(container, table, cache))); }
public CloudIndexedBlobStore(CloudBlobContainer container, CloudTable table, IIndexedBlobCache cache) { Container = container; Table = table; Cache = cache; }