public GetType ( string typeName ) : |
||
typeName | string | |
return |
public Type GetType(string typeName)
{
//use ITypeResolutionService if we have it, else Type.GetType();
object typeResSvc = GetService (typeof (ITypeResolutionService));
if (typeResSvc != null)
return (typeResSvc as ITypeResolutionService).GetType (typeName);
else
return Type.GetType (typeName);
}