Interface ISelectorFactory
Represents a factory for creating selectors and performing mapping operations.
public interface ISelectorFactory
Methods
- GetMappedSourceMemberForPropertyName<T, TResult>(string)
Gets the mapped source member for the specified property name.
- GetPropertySelectorExpression<T, TResult>(string)
Gets the property selector expression for the specified property name.
- GetSelector<T, TResult>()
Gets the selector expression for the specified source and result types.
- GetSortExpression<T, TResult>(string)
Gets the sort expression for the specified property name.
- Map<TSource, TDestination>(TSource)
Maps the properties from the source object to a new instance of the destination type.
- Map<TSource, TDestination>(TSource, TDestination)
Maps the properties from the source object to the destination object.
- TryGetSelector<T, TResult>()
Tries to get the selector expression for the specified source and result types.