Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting method in sub class
Message
From
24/03/2015 05:51:56
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01617154
Message ID:
01617174
Views:
38
Had similar thoughts and wondered if there were empty/dummy methods declared in the base class to early(ly??) define method signatures similar to interfaces.
As nothing forces you to implement such methods when NOT done via interfaces, it might be necessary, if such methods have side effects expected to work in the fwk. Side effects as pillar of a fwk OTOH are not the typical pattern, to put it mildly, so I do wonder still myself...

>If I understand correctly you are just trying to determine whether the method is overridden in the child class. If so I don't know why you are walking the class hierarchy. If the method exists then you could just use :
return (loMethodInfo.ReflectedType = loMethodInfo.DeclaringType)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform