Intersoft ClientUI Documentation
CanResolve(String,Type) Method



The name of the registration to check for.
The type to be resolved.
Determines if the type TType can be resolved.
Syntax
Public Overloads Function CanResolve( _
   ByVal name As String, _
   ByVal type As Type _
) As Boolean
Dim instance As IocContainer
Dim name As String
Dim type As Type
Dim value As Boolean
 
value = instance.CanResolve(name, type)
public bool CanResolve( 
   string name,
   Type type
)
public:
bool CanResolve( 
   String^ name,
   Type^ type
) 

Parameters

name
The name of the registration to check for.
type
The type to be resolved.

Return Value

True if there is an unnamed Registration for the type TType, false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IocContainer Class
IocContainer Members
Overload List

Send Feedback