Method TryGetSelector
TryGetSelector<T, TResult>()
Tries to get the selector expression for the specified source and result types.
Expression<Func<T, TResult>> TryGetSelector<T, TResult>()
Returns
- Expression<Func<T, TResult>>
The selector expression if found, otherwise null.
Type Parameters
T
The source type.
TResult
The result type.