Responder Developer Guide
Resolve(Type,String,NamedParameterOverloads,ResolveOptions) Method


Type to resolve
Name of registration
User specified constructor parameters
Resolution options
Attempts to resolve a named type using specified options and the supplied constructor parameters. Parameters are used in conjunction with normal container resolution to find the most suitable constructor (if one exists). All user supplied parameters must exist in at least one resolvable constructor of RegisterType or resolution will fail.
Syntax
'Declaration
 
Public Overloads Function Resolve( _
   ByVal resolveType As Type, _
   ByVal name As String, _
   ByVal parameters As NamedParameterOverloads, _
   ByVal options As ResolveOptions _
) As Object
'Usage
 
Dim instance As TinyIoCContainer
Dim resolveType As Type
Dim name As String
Dim parameters As NamedParameterOverloads
Dim options As ResolveOptions
Dim value As Object
 
value = instance.Resolve(resolveType, name, parameters, options)

Parameters

resolveType
Type to resolve
name
Name of registration
parameters
User specified constructor parameters
options
Resolution options

Return Value

Instance of type
Exceptions
ExceptionDescription
TinyIoCResolutionExceptionUnable to resolve the type.
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