WorkContextTryResolveT(T) - метод |
Tries to resolve a registered dependency type.
Пространство имён:
Orchard
Сборка:
EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксисpublic abstract bool TryResolve<T>(
out T service
)
Параметры
- service
- Тип: T
An instance of the dependency if it could be resolved.
Параметры типа
- T
- The type of the dependency.
Возвращаемое значение
Тип:
BooleanTrue if the dependency could be resolved, false otherwise.
См. также