Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance from custom into a base class
Message
De
23/01/2005 17:07:28
 
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
00979772
Message ID:
00979855
Vues:
7
>There are two ways to this however. Subclass Web Service add your error handler logic then inherit from WebServiceWithErrorHandler. Or you can use a decorator pattern and add ErrorHandleras as a separate object onto the Web Service which will give you nearly the same functinoality as multiple inheritance (but requires one extra nesting level which usually is OK)

Thanks, this is what I was thinking.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform