View on GitHub
Clean Architecture Toolkit for .NET
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications.
It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design.

|   HOME   |   MODULE OVERVIEW   |   DEMO   |   CAT.EXPRESSIONS   |

Code Reference

» Cat.Expressions.Abstractions Assembly » Cat.Expressions.Abstractions Namespace

ICatCompiledMemberExpressionCache<T> Interface

Caches compiled member access delegates for T, so the same expression doesn’t get recompiled on every call.

public interface ICatCompiledMemberExpressionCache<T>
    where T : class

Type parameters

T

The type the member expression is evaluated against.

Methods  
GetOrAdd<TProperty>(Expression<Func<T,TProperty>>, MemberInfo) Compiles the given member expression into a delegate, or returns the delegate compiled for it on a previous call.