/// <summary> /// Maps any Inhertiance Relationships for the <paramref name="typeWrapper"/>. /// and returns the <see cref="ISuperClassDef"/> that is used to /// map these in Habanero. /// </summary> public static ISuperClassDef MapInheritance(this TypeWrapper typeWrapper) { if (typeWrapper.IsNull()) { return(null); } InheritanceAutoMapper autoMapper = new InheritanceAutoMapper(typeWrapper); return(autoMapper.Map()); }
/// <summary> /// Maps any Inhertiance Relationships for the <paramref name="typeWrapper"/>. /// and returns the <see cref="ISuperClassDef"/> that is used to /// map these in Habanero. /// </summary> public static ISuperClassDef MapInheritance(this TypeWrapper typeWrapper) { if (typeWrapper.IsNull()) return null; InheritanceAutoMapper autoMapper = new InheritanceAutoMapper(typeWrapper); return autoMapper.Map(); }