Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodInvokingFactoryObject.GetObject Method

Return an instance (possibly shared or independent) of the object managed by this factory.

[Visual Basic]
Public NotOverridable Sub GetObject() _
    Implements IFactoryObject.GetObject
[C#]
public object GetObject();

Return Value

An instance (possibly shared or independent) of the object managed by this factory.

Implements

IFactoryObject.GetObject

Remarks

Returns the return value of the method that is to be invoked.

Will return the same value each time if the IsSingleton property value is true.

See Also

MethodInvokingFactoryObject Class | Spring.Objects.Factory.Config Namespace | GetObject