public Resolve ( List targetList, string name, EntityType filter ) : bool | ||
targetList | List | |
name | string | |
filter | EntityType | |
리턴 | bool |
public bool Resolve(List targetList, string name, EntityType filter)
{
if (_type.GenericInfo != null && filter == EntityType.Type)
{
IGenericParameter match = Array.Find(
_type.GenericInfo.GenericParameters,
delegate(IGenericParameter gp) { return gp.Name == name; });
if (match != null)
{
targetList.AddUnique(match);
return true;
}
}
return false;
}