#### [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://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1') Типы сущностей, которые нужно получить\. #### Returns [System\.Collections\.Generic\.IEnumerable<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.Tuple<](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2e\.Scrapper\.Importers\.AbstractCompendiumItem')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[Newtonsoft\.Json\.Linq\.JObject](https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JObject 'Newtonsoft\.Json\.Linq\.JObject')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1') Итератор сущностей\.