Mercurial > pub > bltoolkit
annotate Source/Mapping/DefaultMemberMapper.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +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 } |