Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder.SetLazyInit Method

Sets whether objects for this definition should be lazily initialized or not.

[Visual Basic]
Public Sub SetLazyInit( _
   ByVal lazy As Boolean _
)
[C#]
public ObjectDefinitionBuilder SetLazyInit(
   bool lazy
);

Parameters

lazy
if set to true [lazy].

Return Value

The current

ObjectDefinitionBuilder
.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace