Files
Pf2eDataScrapper/Documentation/Pf2e.Scrapper/AbstractCompendium.Iterate(ICollection_string_).md
2025-10-04 22:52:22 +04:00

21 lines
2.4 KiB
Markdown

#### [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\<string\>\) 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\<string\>\)\.type') \- то только указанного типа\.
```csharp
public abstract System.Collections.Generic.IEnumerable<System.Tuple<Pf2e.Scrapper.Importers.AbstractCompendiumItem,Newtonsoft.Json.Linq.JObject>> Iterate(System.Collections.Generic.ICollection<string> type);
```
#### Parameters
<a name='Pf2e.Scrapper.Importers.AbstractCompendium.Iterate(System.Collections.Generic.ICollection_string_).type'></a>
`type` [System\.Collections\.Generic\.ICollection&lt;](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')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1 'System\.Collections\.Generic\.ICollection\`1')
Типы сущностей, которые нужно получить\.
#### Returns
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.Tuple&lt;](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')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.tuple-2 'System\.Tuple\`2')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')
Итератор сущностей\.