Is there any ways I could use, to mirror any method from another class? i.e.
public class MyMethods
{
public static double Func_1
{
}
public static double Func_2
....
....
....
}
public class Reflector
{
// any call to this class, should be redirected to MyMethods
public SOMETHING_AUTOLOADER_OR_LIKE_THAT{
...
}
}
as i could call Reflector.Func_888();
, and if that method is not found there, then it should search in MyMethods
and execute that.
Aucun commentaire:
Enregistrer un commentaire