Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Expression.RegisterFunction Method

Registers lambda expression under the specified functionName.

[Visual Basic]
Public Shared Sub RegisterFunction( _
   ByVal functionName As String, _
   ByVal lambdaExpression As String, _
   ByVal variables As IDictionary _
)
[C#]
public static void RegisterFunction(
   string functionName,
   string lambdaExpression,
   IDictionary variables
);

Parameters

functionName
Function name to register expression as.
lambdaExpression
Lambda expression to register.
variables
Variables dictionary that the function will be registered in.

See Also

Expression Class | Spring.Expressions Namespace