CachedExpressionCompiler Class
Represents a cached expression compiler.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.CachedExpressionCompiler
Syntax
public static class CachedExpressionCompiler
[ExtensionAttribute]
public ref class CachedExpressionCompiler abstract sealed
[<AbstractClass>]
[<Sealed>]
type CachedExpressionCompiler = class end
<ExtensionAttribute>
Public NotInheritable Class CachedExpressionCompiler
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Compile<TModel, TValue>(Expression<Func<TModel, TValue>>) | Implements caching around LambdaExpression.Compile() so that equivalent expression trees only have to be compiled once. |
![]() ![]() |
Evaluate(Expression) | Evaluates an expression. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top