/// <summary> /// Initializes a new instance of the <see cref="Blob"/> class. /// </summary> /// <param name="storageEndpoint">The storage endpoint.</param> /// <param name="blobContainerName">Name of a blob container.</param> public Blob( StorageEndpoint storageEndpoint, string blobContainerName ) : base(storageEndpoint) { this.BlobContainerName = blobContainerName; }
/// <summary> /// Gets the container blobs. /// </summary> /// <returns></returns> public List<Blob> RetrieveContainerBlobs(StorageEndpoint blobContainerEndpoint, string blobContainerName) { var blobs = from blob in XDocument.Parse(ResponseBody).Root.Descendants("Blob") select new Blob( blobContainerEndpoint, blobContainerName ) { Name = blob.Element("Name").Value, Url = new Uri(blob.Element("Url").Value) }; return blobs.ToList(); }
/// <summary> /// Initializes a new instance of the <see cref="Blob"/> class. /// </summary> /// <param name="storageEndpoint">The storage endpoint.</param> public Blob(StorageEndpoint storageEndpoint) : base(storageEndpoint) { }
public StorageRequest(StorageEndpoint storageEndpoint) { this.storageEndpoint = storageEndpoint; }
public BlobService(StorageEndpoint storageEndpoint) : base(storageEndpoint) { }
public PageBlobs(StorageEndpoint storageEndpoint) : base(storageEndpoint) { }
public BlobContainer(StorageEndpoint storageEndpoint) : base(storageEndpoint) { }