Responder Developer Guide
TryResolve<ResolveType>(ResolveOptions,ResolveType) 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(Of ResolveType As Class)( _
   ByVal options As ResolveOptions, _
   ByRef resolvedType As ResolveType _
) As Boolean
'Usage
 
Dim instance As TinyIoCContainer
Dim options As ResolveOptions
Dim resolvedType As ResolveType
Dim value As Boolean
 
value = instance.TryResolve(Of ResolveType)(options, resolvedType)
public bool TryResolve<ResolveType>( 
   ResolveOptions options,
   out ResolveType resolvedType
)
where ResolveType: class

Parameters

options
Resolution options
resolvedType
Resolved type or default if resolve fails

Type Parameters

ResolveType
Type to resolve

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