Intersoft ClientUI Documentation
LazyResolve(Type) Method



The type to be resolved.
Gets a function that resolves an unnamed instance of the type TType. This function delays the creation of types which is useful to improve performance particularly when the specified type allocates expensive resources.
Syntax
Public Overloads Function LazyResolve( _
   ByVal type As Type _
) As Func(Of Object)
Dim instance As IocContainer
Dim type As Type
Dim value As Func(Of Object)
 
value = instance.LazyResolve(type)
public Func<object> LazyResolve( 
   Type type
)
public:
Func<Object^>^ LazyResolve( 
   Type^ type
) 

Parameters

type
The type to be resolved.

Return Value

An instance of the function delegate which is registered to resolve the type TType.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IocContainer Class
IocContainer Members
Overload List

Send Feedback