I have a Func<TCollection, T>
in my code. I use it to select certain properties.
In a call to another method I need Expression<Func<TCollection, T>>
as a parameter.
Is there any way to convert (or create from) Func<TCollection, T>
to Expression<Func<TCollection, T>>
?
Thanx