public void Seal(TypeMapRegistry typeMapRegistry, IConfigurationProvider configurationProvider) { if (_sealed) { return; } _sealed = true; foreach (var inheritedTypeMap in _inheritedTypeMaps) { ApplyInheritedTypeMap(inheritedTypeMap); } _orderedPropertyMaps = PropertyMaps .Union(_inheritedMaps) .OrderBy(map => map.MappingOrder).ToArray(); //MapExpression = new TypeMapPlanBuilder(configurationProvider, typeMapRegistry, this).CreateMapperLambda(); }