Mercurial > pub > bltoolkit
view Extensions/JointureAddOn/Reflection/FullInitContext.cs @ 9:1e85f66cf767 default tip
update bltoolkit
author | nickolay |
---|---|
date | Thu, 05 Apr 2018 20:53:26 +0300 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
using System; using System.Collections.Generic; using System.Diagnostics; using BLToolkit.Mapping; namespace BLToolkit.Reflection { public class FullInitContext { public object[] MemberParameters { get; set; } public object[] Parameters { get; set; } public bool IsInternal { get; set; } public bool IsLazyInstance { get; set; } public object Parent { get; set; } public object SourceObject { get; set; } public FullObjectMapper ObjectMapper { get; set; } public MappingSchema MappingSchema { get; set; } public bool IsSource { get; set; } public bool StopMapping { get; set; } public IMapDataSource DataSource { get; set; } private Dictionary<object, object> _items; public Dictionary<object, object> Items { [DebuggerStepThrough] get { return _items ?? (_items = new Dictionary<object, object>()); } } public bool IsDestination { [DebuggerStepThrough] get { return !IsSource; } [DebuggerStepThrough] set { IsSource = !value; } } } }