Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie to .NET trying inheritance
Message
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01160344
Message ID:
01160425
Vues:
7
This message has been marked as a message which has helped to the initial question of the thread.
>Hya.
>
>I've created an abastract base class and now I'm subclassing it.
>It's all great, but one thing I'm missing ... when looking to the subclassed class, how do I know a method has code inherited from the parent class? In VFP we get an "Inherited from..." and with the right tool we can even see the code. (CodeMine lets me do it)
>Sorry if this is a silly question, but I expect I will flood this place with them from now on.
>

Intellisense is your friend <s>...

You can use intellisense. When you type the . all method signatures pop up. For base class methods use base. (I think that's what VB uses too). The description will show you the originating class name as well...

Not as obvious as the VFP button, but truth is that in most cases you shouldn't have to know what or if there's even a base implementation. That's a basic principle of encapsulation after all <s>...

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform