#### [Pf2e\.Scrapper](index.md 'index') ### [Pf2e\.Scrapper\.Importers](Pf2e.Scrapper.Importers.md 'Pf2e\.Scrapper\.Importers').[AbstractCompendium](AbstractCompendium.md 'Pf2e\.Scrapper\.Importers\.AbstractCompendium') ## AbstractCompendium\.Iterate\(ICollection\\) Method Получение итератора сущностей\. Если указан тип [type](AbstractCompendium.Iterate(ICollection_string_).md#Pf2e.Scrapper.Importers.AbstractCompendium.Iterate(System.Collections.Generic.ICollection_string_).type 'Pf2e\.Scrapper\.Importers\.AbstractCompendium\.Iterate\(System\.Collections\.Generic\.ICollection\\)\.type') \- то только указанного типа\. ```csharp public abstract System.Collections.Generic.IEnumerable> Iterate(System.Collections.Generic.ICollection type); ``` #### Parameters `type` [System\.Collections\.Generic\.ICollection<](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[>](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1 'System\.Collections\.Generic\.ICollection\`1') Типы сущностей, которые нужно получить\. #### Returns [System\.Collections\.Generic\.IEnumerable<](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.Tuple<](https://learn.microsoft.com/en-us/dotnet/api/system.tuple-2 'System\.Tuple\`2')[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2e\.Scrapper\.Importers\.AbstractCompendiumItem')[,](https://learn.microsoft.com/en-us/dotnet/api/system.tuple-2 'System\.Tuple\`2')[Newtonsoft\.Json\.Linq\.JObject](https://learn.microsoft.com/en-us/dotnet/api/newtonsoft.json.linq.jobject 'Newtonsoft\.Json\.Linq\.JObject')[>](https://learn.microsoft.com/en-us/dotnet/api/system.tuple-2 'System\.Tuple\`2')[>](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') Итератор сущностей\.