using System.Collections.Generic; using System.Collections.ObjectModel; using System.Reflection; namespace Masuit.Tools.Mapping.Core { /// /// 未映射的属性的处理结果。 /// public class PropertiesNotMapped { internal List sourceProperties; internal List targetProperties; /// /// 获取未映射的源属性。 /// public ReadOnlyCollection SourceProperties => new ReadOnlyCollection(sourceProperties); /// /// 获取未映射的目标属性。 /// public ReadOnlyCollection TargetProperties => new ReadOnlyCollection(targetProperties); /// /// 构造函数 /// public PropertiesNotMapped() { sourceProperties = new List(); targetProperties = new List(); } } }