Method ForSourceMember
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
ForSourceMember(Expression<Func<TSource, object?>>, Action<ISourceMemberConfigurationExpression>)
Configures one member of the source.
IMappingExpression<TSource, TDestination> ForSourceMember(Expression<Func<TSource, object?>> sourceMember, Action<ISourceMemberConfigurationExpression> memberOptions)
Parameters
sourceMemberExpression<Func<TSource, object>>A member access on the source.
memberOptionsAction<ISourceMemberConfigurationExpression>The configuration applied to that member.
Returns
- IMappingExpression<TSource, TDestination>
This expression, for chaining.
Remarks
There is one thing to say about a source member, and it only means anything under Source: that it is allowed to go unread.
Exceptions
- ArgumentNullException
Either argument is null.