Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance from custom into a base class
Message
From
23/01/2005 17:07:28
 
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
00979772
Message ID:
00979855
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform