private bool TryGetAliasedType(string type, out Type aliasType)
{
string key =
_typeAliases.Keys.FirstOrDefault(k => k.Equals(type, StringComparison.CurrentCultureIgnoreCase));
if (key.IsNotEmpty())
{
aliasType = _typeAliases[key];
return true;
}
aliasType = null;
return false;
}
}