Skip to content

Instantly share code, notes, and snippets.

View JasonMore's full-sized avatar

Jason More JasonMore

  • Minneapolis, MN
View GitHub Profile
@JasonMore
JasonMore / gist:1036431
Created June 20, 2011 19:58 — forked from darrencauthon/gist:1036421
AutoMapperAssist example
Mapper.CreateMap<TestClass, TestClassViewModel>()
.ForMember(dest => dest.Bar, opt => opt.MapFrom(src => src.Foo));
var map = new Mapper<TestClass, TestClassViewModel>(Mapper.Engine);