예제 #1
0
 private void MapSubclass(IList<Member> mappedMembers, SubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Set(x => x.Name, Layer.Defaults, inheritedClass.Type.AssemblyQualifiedName);
     subclass.Set(x => x.Type, Layer.Defaults, inheritedClass.Type);
     ApplyOverrides(inheritedClass.Type, mappedMembers, subclass);
     ProcessClass(subclass, inheritedClass.Type, mappedMembers);
     inheritedClass.IsMapped = true;
 }
예제 #2
0
 private void MapSubclass(IList <Member> mappedMembers, SubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Set(x => x.Name, Layer.Defaults, inheritedClass.Type.AssemblyQualifiedName);
     subclass.Set(x => x.Type, Layer.Defaults, inheritedClass.Type);
     ApplyOverrides(inheritedClass.Type, mappedMembers, subclass);
     ProcessClass(subclass, inheritedClass.Type, mappedMembers);
     inheritedClass.IsMapped = true;
 }
예제 #3
0
 private void MapSubclass(IList<Member> mappedMembers, SubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Name = inheritedClass.Type.AssemblyQualifiedName;
     subclass.Type = inheritedClass.Type;
     ApplyOverrides(inheritedClass.Type, mappedMembers, subclass);
     ProcessClass(subclass, inheritedClass.Type, mappedMembers);
     inheritedClass.IsMapped = true;
 }
예제 #4
0
 private void MapSubclass(IList<string> mappedProperties, ISubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Name = inheritedClass.Type.AssemblyQualifiedName;
     ApplyOverrides(inheritedClass.Type, mappedProperties, (ClassMappingBase)subclass);
     MapEverythingInClass((ClassMappingBase)subclass, inheritedClass.Type, mappedProperties);
     inheritedClass.IsMapped = true;
 }
예제 #5
0
 private void MapSubclass(IList <string> mappedProperties, ISubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Name = inheritedClass.Type.AssemblyQualifiedName;
     ApplyOverrides(inheritedClass.Type, mappedProperties, (ClassMappingBase)subclass);
     MapEverythingInClass((ClassMappingBase)subclass, inheritedClass.Type, mappedProperties);
     inheritedClass.IsMapped = true;
 }
 static bool IsNotInnerClass(AutoMapType type)
 {
     return(type.Type.ReflectedType == null);
 }
예제 #7
0
 private void MapSubclass(IList <Member> mappedMembers, SubclassMapping subclass, AutoMapType inheritedClass)
 {
     subclass.Name = inheritedClass.Type.AssemblyQualifiedName;
     subclass.Type = inheritedClass.Type;
     ApplyOverrides(inheritedClass.Type, mappedMembers, subclass);
     ProcessClass(subclass, inheritedClass.Type, mappedMembers);
     inheritedClass.IsMapped = true;
 }
예제 #8
0
 private static bool IsNotAnonymousMethodClass(AutoMapType type)
 {
     return(type.Type.ReflectedType == null);
 }