Files
2025-10-04 22:52:22 +04:00

28 lines
2.5 KiB
Markdown

#### [Pf2e\.Scrapper](index.md 'index')
### [Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers')
## RuleTocCollection Class
Класс коллекции книг, содержащих правила\.
Реализует шаблон `Singleton`\.
```csharp
public class RuleTocCollection
```
Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') 🡒 RuleTocCollection
| Properties | |
| :--- | :--- |
| [Books](RuleTocCollection.Books.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.Books') | Список книг, содержащих правила\. |
| [Instance](RuleTocCollection.Instance.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.Instance') | Экземпляр класса [RuleTocCollection](RuleTocCollection.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection')\. |
| [this\[int\]](RuleTocCollection.this[int].md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.this\[int\]') | Поиск книги по числовому идентификатору\. |
| [this\[Source\]](RuleTocCollection.this[Source].md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.this\[Pf2e\.Database\.Model\.Base\.Source\.Source\]') | Поиск книги по CLR\-представлению источника\. |
| Methods | |
| :--- | :--- |
| [FindEntityId\(int\)](RuleTocCollection.FindEntityId(int).md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.FindEntityId\(int\)') | Поиск правила по идентификатору\. |
| [FindName\(string\)](RuleTocCollection.FindName(string).md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.FindName\(string\)') | Поиск книги по имени\. |
| [SaveFile\(\)](RuleTocCollection.SaveFile().md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.SaveFile\(\)') | Сохраняет коллекцию в файле YAML\. |
| [ToString\(\)](RuleTocCollection.ToString().md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.RuleTocCollection\.ToString\(\)') | Возвращает строковое представление коллекции в файле YAML\. |