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));
        }
Exemple #2
0
 public string CurrentFileName()
 {
     return(FullPath(FileNameMaker.CurrentFileName()));
 }