3
我使用AutoMapper 1.0 RTW和添加一些自定义格式的:AutoMapper - 添加自定义格式
Mapper.AddFormatter<AlertTypeFormatter>();
Mapper.AddFormatter<DateStringFormatter>();
的目标类型都是字符串和编制独立工作。但把它们放在一起,只有第一个格式化程序被调用。在这种情况下,“AlertTypeFormatter”。
任何想法?
任何想法,我与此设立总格式化回事? http://stackoverflow.com/questions/2779068/automapper-site-wide-usage-of-ivalueformatter-for-given-types – CRice 2010-05-13 07:18:00