Yöntem simgesinden bir MethodInfo nesnesi almak mümkün mü?Yöntem yönteminden MethodInfo nasıl alınır?
Yani aynı damarda:
İştetypeof(SomeClassSymbol) // this gets you a Type object
yapmak istediğim şudur:
public class Meatwad
{
MethodInfo method;
public Meatwad()
{
method = ReflectionThingy.GetMethodInfo(SomeMethod);
}
public void SomeMethod() { }
}
Nasıl ReflectionThingy.GetMethodInfo uygulamak olabilir? Bu mümkün olsa bile, hatta aşırı yüklenmiş yöntemler hakkında ne?
Biraz endişeliyim, hissediyorum: [Güvende Güveniz] (http://blogs.msdn.com/b/ericlippert/archive/2009/05/21/in-foof-we-trust-a-dialogue. aspx) –