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






Determines if the type TType can be resolved.

Syntax

Visual Basic (Declaration) 
Overloads Function CanResolve(Of TType)() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IDependencyResolver
Dim value As Boolean
 
value = instance.CanResolve(Of TType)()
C# 
bool CanResolve<TType>()
Delphi 
function CanResolve(): Boolean; 
JScript 
function CanResolve() : boolean;
Managed Extensions for C++ 
bool CanResolve<TType>(); 
C++/CLI 
bool CanResolvegeneric<typename TType>
(); 

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.