Пример #1
0
 IEnumerable <SectionInfo> IStorageEntry.EnumSections(CancellationToken cancellation)
 {
     foreach (var sectionFile in manager.FileSystem.ListFiles(path, cancellation))
     {
         var sectionInfo = StorageManagerImplementation.ParseNormalizedSectionKey(System.IO.Path.GetFileName(sectionFile));
         if (sectionInfo == null)
         {
             continue;
         }
         yield return(sectionInfo.Value);
     }
 }