资 源 简 介
```
// Configure LazyMapper
Mapper.Create();
// Perform mapping
var dto = Mapper.Map(new SampleClass {
StringVal = "String1",
IntVal = 123,
LongVal = 321L,
BoolVal = true,
IgnoredValue = "ignored" });
Assert.AreEqual(dto.StringVal, "String1");
Assert.AreEqual(dto.IntVal, 123);
Assert.AreEqual(dto.LongVal, 321L);
Assert.AreEqual(dto.BoolVal, true);
```
What does it do?
LazyMapper assists with object-object mapping in WP7. If you are familiar with Automapper then you know what it is about. This is not a port of automapper. Unfortunately Mango seem to be missing some components to do this (more). Lazymapper has no association with automapper other than mirroring the most basic interface.
Why ?
Ob