public void Read(StorageElementCollection.AddElement add, StorageHierarchiesBuilder builder) { var context = TryCreateNamedHierarchyAndContext(add, builder); ReadFiltersElement(add.Filters, context); ReadChildLocations(add, context); }
private Context TryCreateNamedHierarchyAndContext(StorageElementCollection.AddElement add, StorageHierarchiesBuilder builder) { var watch = builder.Errors.Watch() + Errors.Watch(); VerifyAbsolutePath(add.Path)?.SetLocation(add.ElementInformation); if (watch.HasNewErrors) { return(default);