Mercurial > pub > bltoolkit
annotate Source/Reflection/InitContext.cs @ 9:1e85f66cf767 default tip
update bltoolkit
author | nickolay |
---|---|
date | Thu, 05 Apr 2018 20:53:26 +0300 |
parents | 8f65451dc28f |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 using System.Collections.Generic; | |
3 using System.Diagnostics; | |
4 | |
5 using BLToolkit.Mapping; | |
6 | |
7 namespace BLToolkit.Reflection | |
8 { | |
9 public class InitContext | |
10 { | |
11 public object[] MemberParameters { get; set; } | |
12 public object[] Parameters { get; set; } | |
13 public bool IsInternal { get; set; } | |
14 public bool IsLazyInstance { get; set; } | |
15 public object Parent { get; set; } | |
16 public object SourceObject { get; set; } | |
17 public ObjectMapper ObjectMapper { get; set; } | |
18 public MappingSchema MappingSchema { get; set; } | |
19 public bool IsSource { get; set; } | |
20 public bool StopMapping { get; set; } | |
21 [CLSCompliant(false)] | |
22 public IMapDataSource DataSource { get; set; } | |
1
8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
cin
parents:
0
diff
changeset
|
23 public int[] MappingIndex { get; set; } |
0 | 24 |
25 private Dictionary<object,object> _items; | |
26 public Dictionary<object,object> Items | |
27 { | |
28 [DebuggerStepThrough] | |
29 get { return _items ?? (_items = new Dictionary<object, object>()); } | |
30 } | |
31 | |
32 public bool IsDestination | |
33 { | |
34 [DebuggerStepThrough] get { return !IsSource; } | |
35 [DebuggerStepThrough] set { IsSource = !value; } | |
36 } | |
37 } | |
38 } |