Skip to content

Instantly share code, notes, and snippets.

View 74nu5's full-sized avatar
๐Ÿ™ƒ

tanus 74nu5

๐Ÿ™ƒ
View GitHub Profile
void Main()
{
var f = new SourceClass { MyProperty = 42 };
var mappingConfig = new MapperConfiguration(mc =>
{
mc.CreateMap<SourceClass, DestinationClass>();
});
IMapper mapper = mappingConfig.CreateMapper();
@74nu5
74nu5 / 0_reuse_code.js
Created February 15, 2016 16:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console