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; }
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; }
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; }
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; }
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); }
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; }
private static bool IsNotAnonymousMethodClass(AutoMapType type) { return(type.Type.ReflectedType == null); }