in src/DeloitteDigital.Atlas/Mapping/RenderingParameterMapping/RenderingParameterMapper.cs [10:29]
public void HandleMapping<TModel>(
TModel model,
Item item,
IPropertyMeta propertyMeta,
ICache cache,
IItemMapper itemMapper)
{
var renderingParameterMappings = MappingUtil.GetRenderingParameterMappers(cache);
var renderingContext = RenderingContext.Current;
if (renderingContext != null)
{
if (renderingParameterMappings.ContainsKey(propertyMeta.PropertyKey))
{
renderingParameterMappings[propertyMeta.PropertyKey].SetRenderingParameterMappingMapping(
model,
propertyMeta,
renderingContext);
}
}
}