Responder Developer Guide
Resolve(Type,NamedParameterOverloads) Method


Type to resolve
User specified constructor parameters
Attempts to resolve a type using default 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 parameters As NamedParameterOverloads _
) As Object
'Usage
 
Dim instance As TinyIoCContainer
Dim resolveType As Type
Dim parameters As NamedParameterOverloads
Dim value As Object
 
value = instance.Resolve(resolveType, parameters)
public object Resolve( 
   Type resolveType,
   NamedParameterOverloads parameters
)

Parameters

resolveType
Type to resolve
parameters
User specified constructor parameters

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