예제 #1
0
        public AzureListFileWrapper(ICloudBlob blob, AzureListDirectoryWrapper parent)
        {
            _blob = blob;

            var lastSlash = blob.Name.LastIndexOf('/');

            _name = lastSlash >= 0 ? blob.Name.Substring(lastSlash + 1) : blob.Name;

            _parent = parent;
        }
예제 #2
0
 public AzureListDirectoryWrapper(CloudBlobDirectory blobDirectory, AzureListDirectoryWrapper parent = null)
 {
     ParentDirectory = parent;
     _fullName       = blobDirectory.Prefix;
 }