Пример #1
0
        private static IQualifiedMember CreateSourceMember(Expression value, IMemberMapperData mapperData)
        {
            var sourceMember = new ConfiguredSourceMember(value, mapperData);

            var finalSourceMember = mapperData.MapperContext
                                    .QualifiedMemberFactory
                                    .GetFinalSourceMember(sourceMember, mapperData.TargetMember);

            return(finalSourceMember);
        }
Пример #2
0
        private static IQualifiedMember CreateSourceMember(Expression value, IQualifiedMemberContext context)
        {
            var sourceMember = new ConfiguredSourceMember(value, context);

            var finalSourceMember = context.MapperContext
                                    .QualifiedMemberFactory
                                    .GetFinalSourceMember(sourceMember, context.TargetMember);

            return(finalSourceMember);
        }