Mercurial > pub > bltoolkit
annotate Source/Mapping/DefaultMemberMapper.cs @ 6:11b6da379593
Исправлена странная ошибка при использовании OfType<...>().Where(...)
author | cin |
---|---|
date | Mon, 05 Dec 2016 05:50:52 +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 } |