public IContentReader GetCurrentDescriptorContent() { var current = _folder.GetBlockBlobReference(FileNameMaker.CurrentFileName()).DownloadTextAsync().Result .Trim(); if (string.IsNullOrEmpty(current)) { throw new InvalidDataException("bad CURRENT file"); } return(new StreamContentReader(_folder.GetBlockBlobReference(current).OpenReadAsync().Result)); }
public string CurrentFileName() { return(FullPath(FileNameMaker.CurrentFileName())); }