comparison Source/Mapping/DefaultMemberMapper.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 namespace BLToolkit.Mapping
2 {
3 class DefaultMemberMapper : MemberMapper
4 {
5 public override bool SupportsValue
6 {
7 get { return false; }
8 }
9
10 public override object GetValue(object o)
11 {
12 return MapTo(base.GetValue(o));
13 }
14
15 public override void SetValue(object o, object value)
16 {
17 base.SetValue(o, MapFrom(value));
18 }
19 }
20 }