Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder.SetFactoryMethod Method

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

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

Parameters

factoryMethod
The factory method.

Return Value

The current

ObjectDefinitionBuilder
.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace