public IsApplicable ( |
||
sourceType | ||
targetType | ||
return | bool |
public bool IsApplicable(Type sourceType, Type targetType)
{
foreach (IMapper item in items)
{
bool isApplicable = item.IsApplicable(sourceType, targetType);
if (isApplicable)
{
return true;
}
}
return false;
}