Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ExpressionEvaluator Class

Utility class that enables easy expression evaluation.

For a list of all members of this type, see ExpressionEvaluator Members .


[Visual Basic]
Public Class ExpressionEvaluator
public class ExpressionEvaluator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


This class allows users to get or set properties, execute methods, and evaluate logical and arithmetic expressions.

Methods in this class parse expression on every invocation. If you plan to reuse the same expression many times, you should prepare the expression once using the static Parse method, and then call GetValue to evaluate it.

This can result in significant performance improvements as it avoids expression parsing and node resolution every time it is called.


Namespace: Spring.Expressions

Assembly: Spring.Core (in Spring.Core.dll)

See Also

ExpressionEvaluator Members | Spring.Expressions Namespace