public AzureListFileWrapper(ICloudBlob blob, AzureListDirectoryWrapper parent) { this.blob = blob; var lastSlash = blob.Name.LastIndexOf('/'); if (lastSlash >= 0) { this.name = blob.Name.Substring(lastSlash + 1); } else { this.name = blob.Name; } this.parent = parent; }
public AzureListDirectoryWrapper(CloudBlobDirectory blobDirectory, AzureListDirectoryWrapper parent = null) { this.ParentDirectory = parent; this.fullName = blobDirectory.Prefix; }