Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Expression.Set Method

Evaluates this expression for the specified root object and sets value of the last node.

[Visual Basic]
Protected Overrides Sub Set( _
   ByVal context As Object, _
   ByVal evalContext As EvaluationContext, _
   ByVal newValue As Object _
)
[C#]
protected override void Set(
   object context,
   EvaluationContext evalContext,
   object newValue
);

Parameters

context
Context to evaluate expressions against.
evalContext
Current expression evaluation context.
newValue
Value to set last node to.

Exceptions

Exception Type Condition
NotSupportedException If navigation expression is empty.

See Also

Expression Class | Spring.Expressions Namespace