public void ApplyInheritedMap(TypeMap inheritedTypeMap) { _inheritedTypeMaps.Add(inheritedTypeMap); }
private void IncludeBaseMappings(Type source, Type destination, TypeMap typeMap) { foreach (var inheritedTypeMap in _typeMaps.Where(t => t.TypeHasBeenIncluded(source, destination))) { typeMap.ApplyInheritedMap(inheritedTypeMap); } }