示例#1
0
        public BlobFuService ListBlobs(BlobListRequest request)
        {
            VerifyContainer(request.Container);

            var blobs = new List <string>();

            blobs.AddRange(
                this._container.ListBlobs().Select(x =>
                                                   x.Uri.AbsoluteUri));

            if (request.ListReceivedCallback != null)
            {
                request.ListReceivedCallback(blobs);
            }

            return(this);
        }
示例#2
0
 public static void ListBlobs(
     BlobListRequest request)
 {
     new BlobFuService(request.ConnectionStringName)
     .ListBlobs(request);
 }