WorkContextTryResolve(Type, Object) - метод

Tries to resolve a registered dependency type.

Пространство имён:  Orchard
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
public abstract bool TryResolve(
	Type serviceType,
	out Object service
)

Параметры

serviceType
Тип: Type
The type of the dependency.
service
Тип: Object
An instance of the dependency if it could be resolved.

Возвращаемое значение

Тип: Boolean
True if the dependency could be resolved, false otherwise.
См. также