Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder.SetFactoryObject Method

Sets the name of the factory object to use for this definition.

[Visual Basic]
Public Sub SetFactoryObject( _
   ByVal factoryObject As String, _
   ByVal factoryMethod As String _
)
[C#]
public ObjectDefinitionBuilder SetFactoryObject(
   string factoryObject,
   string factoryMethod
);

Parameters

factoryObject
The factory object.
factoryMethod
The factory method.

Return Value

The current

ObjectDefinitionBuilder
.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace