Method TryGetSelector
TryGetSelector<T, TResult>()
Tries to get the selector expression for mapping T to TResult.
public Expression<Func<T, TResult>> TryGetSelector<T, TResult>()
Returns
- Expression<Func<T, TResult>>
The selector expression if found, otherwise null.
Type Parameters
TThe source type.
TResultThe destination type.