Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Users and password
Message
 
À
06/01/2005 20:58:51
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP1
Network:
Novell 4.x
Database:
MS SQL Server
Divers
Thread ID:
00974022
Message ID:
00976949
Vues:
16
Max,

>Is there a "factory" way around this? I like the factory concept but think it would be more generic and flexible if methods in the factory could return objects which are not decendants of the original return type.

The best solution in this case is to make your role class a subclass of mmRole.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform