Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResultFactoryRegistry.SetDefaultFactory Method

Set a new default factory

[Visual Basic]
Public Shared Sub SetDefaultFactory( _
   ByVal resultFactory As IResultFactory _
)
[C#]
public static IResultFactory SetDefaultFactory(
   IResultFactory resultFactory
);

Parameters

resultFactory
the new default factory instance. Must not be null.

Return Value

the previous default factory.

See Also

ResultFactoryRegistry Class | Spring.Web.Support Namespace