Intersoft ClientUI Documentation
CanResolve(String,Type) Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IocContainer Class > CanResolve Method : CanResolve(String,Type) Method






name
The name of the registration to check for.
type
The type to be resolved.
Determines if the type TType can be resolved.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CanResolve( _
   ByVal name As String, _
   ByVal type As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IocContainer
Dim name As String
Dim type As Type
Dim value As Boolean
 
value = instance.CanResolve(name, type)
C# 
public bool CanResolve( 
   string name,
   Type type
)
Delphi 
public function CanResolve( 
    name: String;
    type: Type
): Boolean; 
JScript 
public function CanResolve( 
   name : String,
   type : Type
) : boolean;
Managed Extensions for C++ 
public: bool CanResolve( 
   string* name,
   Type* type
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.