Here\'s my code:
Mapper.CreateMap() .ForMember(dest => dest.Bar, opt => opt.MapFrom(src => src.Bar == null ? new BarViewModel() : sr
As of Automapper 8, ResolveUsing is no longer an option but inline Func's, IValueResolver and IMemberValueResolver are
ResolveUsing
Func
IValueResolver
IMemberValueResolver