public GetMethod ( string funcname, MethodParamList types ) : IMethod | ||
funcname | string | |
types | MethodParamList | |
return | IMethod |
public virtual IMethod GetMethod(string funcname, MethodParamList types)
{
if (funcname == ".ctor")
{
var con = TypeForSystem.GetConstructor(types.ToArraySystem());
return new Method_Common_System(this, con);
}
var method = TypeForSystem.GetMethod(funcname, types.ToArraySystem());
return new Method_Common_System(this, method);
}