ConstructedBy

8 views
Skip to first unread message

mjm...@gmail.com

unread,
Oct 23, 2016, 1:21:16 AM10/23/16
to AutoMapper-users
I'm trying to use ConstructedBy however it doesnt appear this is valid anymore.  Can someone point in the correct direction on how to accomplish this?

 .ForMember(dest => dest.Url,
                        opt => opt.ResolveUsing<XAttributeResolver<string>>()
                            .ConstructedBy(
                                () =>
                                    new XAttributeResolver<string>("publication_original_url", "publication",
                                        "publications")))
Reply all
Reply to author
Forward
0 new messages