示例#1
0
        private void ResolveTopEntry(IEntryProvider entryProvider)
        {
            var currentEntry = entriesToCheckTheRelations.Pop();

            if (currentEntry == null)
            {
                return;
            }
            var relations = GetRelations(currentEntry, entryProvider);

            if (IsCollectionEmpty(relations))
            {
                return;
            }
            relations = relations
                        .Where(r => relationService.IsRelationValid(r))
                        .ToList();
            series.AddRange(relations);
            StackNextRelatedEntries(relations);
        }