Responder Developer Guide
CanResolve(Type,String,ResolveOptions) Method


Type to resolve
Name of registration
Resolution options
Attempts to predict whether a given named type can be resolved with the specified options. Note: Resolution may still fail if user defined factory registations fail to construct objects when called.
Syntax
'Declaration
 
Public Overloads Function CanResolve( _
   ByVal resolveType As Type, _
   ByVal name As String, _
   ByVal options As ResolveOptions _
) As Boolean
'Usage
 
Dim instance As TinyIoCContainer
Dim resolveType As Type
Dim name As String
Dim options As ResolveOptions
Dim value As Boolean
 
value = instance.CanResolve(resolveType, name, options)
public bool CanResolve( 
   Type resolveType,
   string name,
   ResolveOptions options
)

Parameters

resolveType
Type to resolve
name
Name of registration
options
Resolution options

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