TType
The type to be resolved.
Intersoft ClientUI Documentation
CanResolve<TType>(String) Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IocContainer Class > CanResolve Method : CanResolve<TType>(String) Method






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

Syntax

Visual Basic (Declaration) 
Public Overloads Function CanResolve(Of TType)( _
   ByVal name As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IocContainer
Dim name As String
Dim value As Boolean
 
value = instance.CanResolve(Of TType)(name)
C# 
public bool CanResolve<TType>( 
   string name
)
Delphi 
public function CanResolve( 
    name: String
): Boolean; 
JScript 
public function CanResolve( 
   name : String
) : boolean;
Managed Extensions for C++ 
public: bool CanResolve<TType>( 
   string* name
) 
C++/CLI 
public:
bool CanResolvegeneric<typename TType>
( 
   String^ name
) 

Parameters

name
The name of the registration to check for.

Type Parameters

TType
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.