Files
cherrypick/website/i18n/ru/docusaurus-plugin-content-docs/current/dependency-resolution-api.md
Sergey Penkovsky 9fee26c524 feat(i18n): add initial Russian localization for documentation and site config
- Added full Russian translations for all main documentation sections () into .
- Sections translated include: key features, installation, getting started, all core concepts, advanced features, API reference, FAQ, links, additional modules, contributing, and license.
- Updated  to ensure language switching is available and Russian locale is active.
- Each Russian file preserves the structure and formatting of the original Markdown, with machine-aided draft translation for immediate use.
- Lays the groundwork for UI language switching (en/ru) and enables further manual translation refinement and review.
2025-08-14 15:46:53 +03:00

16 lines
834 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 4
---
# API разрешения зависимостей
- `resolve<T>()` — получает экземпляр зависимости или выбрасывает исключение, если не найдено.
- `resolveAsync<T>()` — асинхронный вариант для зависимостей с асинхронной инициализацией.
- `tryResolve<T>()` — возвращает `null`, если не найдено (синхронно).
- `tryResolveAsync<T>()` — возвращает `null` асинхронно, если не найдено.
Поддерживает:
- Синхронные и асинхронные зависимости
- Именованные зависимости
- Провайдеры с runtime-параметрами или без них