Responder Developer Guide
CanResolve<ResolveType>() Method


Type to resolve
Attempts to predict whether a given type can be resolved with default options. Note: Resolution may still fail if user defined factory registations fail to construct objects when called.
Syntax
'Declaration
 
Public Overloads Function CanResolve(Of ResolveType As Class)() As Boolean
'Usage
 
Dim instance As TinyIoCContainer
Dim value As Boolean
 
value = instance.CanResolve(Of ResolveType)()
public bool CanResolve<ResolveType>()
where ResolveType: class

Type Parameters

ResolveType
Type to resolve

Return Value

Bool indicating whether the type can be resolved
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TinyIoCContainer Class
TinyIoCContainer Members
Overload List

 

 


Send Comment