Responder Developer Guide
CanResolve<ResolveType>(String) Method


Type to resolve
Attempts to predict whether a given named 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)( _
   ByVal name As String _
) As Boolean
'Usage
 
Dim instance As TinyIoCContainer
Dim name As String
Dim value As Boolean
 
value = instance.CanResolve(Of ResolveType)(name)
public bool CanResolve<ResolveType>( 
   string name
)
where ResolveType: class

Parameters

name

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