comparison Extensions/JointureAddOn/Reflection/FullInitContext.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 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 FullInitContext
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 FullObjectMapper ObjectMapper { get; set; }
18 public MappingSchema MappingSchema { get; set; }
19 public bool IsSource { get; set; }
20 public bool StopMapping { get; set; }
21 public IMapDataSource DataSource { get; set; }
22
23 private Dictionary<object, object> _items;
24 public Dictionary<object, object> Items
25 {
26 [DebuggerStepThrough]
27 get { return _items ?? (_items = new Dictionary<object, object>()); }
28 }
29
30 public bool IsDestination
31 {
32 [DebuggerStepThrough]
33 get { return !IsSource; }
34 [DebuggerStepThrough]
35 set { IsSource = !value; }
36 }
37 }
38 }