Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IResultFactory.CreateResult Method

Create an IResult instance from the given string representation.

[Visual Basic]
Public Sub CreateResult( _
   ByVal resultMode As String, _
   ByVal resultText As String _
)
[C#]
IResult CreateResult(
   string resultMode,
   string resultText
);

Parameters

resultMode
the resultMode that caused triggering this factory.
resultText
the remainder string to be interpreted and converted into an IResult.

Return Value

An IResult instance. Must never be null!

Remarks

Note to implementors: This method must never return null. Instead exceptions should be thrown.

See Also

IResultFactory Interface | Spring.Web.Support Namespace