Responder Developer Guide
TryResolve(Type,ResolveOptions,Object) Method


Type to resolve
Resolution options
Resolved type or default if resolve fails
Attemps to resolve a type using the given options
Syntax
'Declaration
 
Public Overloads Function TryResolve( _
   ByVal resolveType As Type, _
   ByVal options As ResolveOptions, _
   ByRef resolvedType As Object _
) As Boolean
'Usage
 
Dim instance As TinyIoCContainer
Dim resolveType As Type
Dim options As ResolveOptions
Dim resolvedType As Object
Dim value As Boolean
 
value = instance.TryResolve(resolveType, options, resolvedType)
public bool TryResolve( 
   Type resolveType,
   ResolveOptions options,
   out object resolvedType
)

Parameters

resolveType
Type to resolve
options
Resolution options
resolvedType
Resolved type or default if resolve fails

Return Value

True if resolved sucessfully, false otherwise
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