Mercurial > pub > bltoolkit
annotate Source/Mapping/DefaultMemberMapper.cs @ 9:1e85f66cf767 default tip
update bltoolkit
author | nickolay |
---|---|
date | Thu, 05 Apr 2018 20:53:26 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 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 } |