Method GetSelector
GetSelector<T, TResult>()
Gets the selector expression for mapping T
to TResult
.
public Expression<Func<T, TResult>> GetSelector<T, TResult>()
Returns
- Expression<Func<T, TResult>>
The selector expression.
Type Parameters
T
The source type.
TResult
The destination type.