Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting from a .dll assembly
Message
De
17/01/2007 09:25:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Titre:
Inheriting from a .dll assembly
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01186229
Message ID:
01186229
Vues:
70
I was referred to some C# classes that I wanted to use in my application, so I compiled them as a Class Library. I am referencing the .dll in my biz layer (seperate project from my UI project), and inheriting some classes. In my UI project, I am trying to use a method of my inherited class that actually resides in the base class, and I get an error that I need to reference the .dll class library in my UI project. This doesn't seem right to me. Am I doing something incorrectly?

I know I can either reference the .dll in my UI project, but that is breaking the encapsulation I am trying to achieve.

I will probably just override the methods in my biz layer that I need, but doesn't seem like it should be necessary to me. Anybody else ever encounter this?
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform