| IContainerStrategyTryResolve Method |
Attempts to resolve an instance of the specified type.
Namespace:
Ditto.AsyncInit.Services
Assembly:
Ditto.AsyncInit.Services (in Ditto.AsyncInit.Services.dll) Version: 1.5.0.2468
Syntax bool TryResolve(
Type type,
out Object value
)
Function TryResolve (
type As Type,
<OutAttribute> ByRef value As Object
) As Boolean
bool TryResolve(
Type^ type,
[OutAttribute] Object^% value
)
abstract TryResolve :
type : Type *
value : Object byref -> bool
Parameters
- type
- Type: SystemType
The type of object to resolve. - value
- Type: SystemObject
Resolved value (or null if unsuccessful).
Return Value
Type:
Booleantrue if successful or
false otherwise.
See Also