private void MapearTodos() { foreach (var model in Typer.GetRefTypers("ViewModel")) { var typers = model.GetTypers(); if (typers == null || typers.Count() == 0) { continue; } foreach (var typer in typers) { CreateMap(model, typer); CreateMap(typer, model); } } }