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.EXTENSIONS   |

Code Reference

» Cat.Expression.Extensions Assembly » Cat.Expression.Extensions Namespace

ExpressionExtensions Class

Extension methods for inspecting System.Linq.Expressions.Expression trees.

public static class ExpressionExtensions

Inheritance System.Object → ExpressionExtensions

Methods  
GetMemberInfo<T,TProperty>(this Expression<Func<T,TProperty>>) Resolves the member a simple member access expression points to, for example the Id property in x => x.Id.
RemoveUnary(Expression) Unwraps a unary expression, such as a boxing conversion, to get at its underlying operand.