There is a DisplayNameFor(x=>x.Title) helper in ASP.Net MVC. I want to implement something similar in behavior.
DisplayNameFor(x=>x.Title)
I want to have a method that accepts
I believe this is what you're aiming for.
public Func MyMethod(Expression> func, ComparisonPredicate op, TProperty value) { } public enum ComparisonPredicate { Equal, Unequal, LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo }