CachedExpressionCompiler Class

 

Represents a cached expression compiler.

Namespace:   Microsoft.Web.Mvc
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  Microsoft.Web.Mvc.CachedExpressionCompiler

public static class CachedExpressionCompiler

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCompile<TModel, TValue>(Expression<Func<TModel, TValue>>)

Implements caching around LambdaExpression.Compile() so that equivalent expression trees only have to be compiled once.

System_CAPS_pubmethodSystem_CAPS_staticEvaluate(Expression)

Evaluates an expression.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: