首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 允许方便和干净的对象映射窗口电话7

允许方便和干净的对象映射窗口电话7

资 源 简 介

``` // 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

文 件 列 表

LazyMapper.Core.dll

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.292171s