public void Map(Type sourceType, object source, Type targetType, object target)
{
foreach (IMapper item in items)
{
bool isApplicable = item.IsApplicable(sourceType, targetType);
if (!isApplicable)
{
continue;
}
item.Map(sourceType, source, targetType, target);
return;;
}
//TODO: Throw exception
}
}