How can I get the property name from Func<T, TResult>
?
There many posts how to get prop name but from Expression
and not from Func
_resultViewModel.SelectMeasurement(si => si.Height, vm => vm.HeightImg); // this is usage... I need to get "Height"
public void SelectMeasurement(Func<ScanInfo, double> measurement, Func<ResultViewModel, ImageSource> image)
{
//some stuff
}