Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Singleton Pattern
Message
De
20/03/2008 17:35:37
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Titre:
Singleton Pattern
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01304138
Message ID:
01304138
Vues:
64
Can somebody give some good real-world examples of where it is appropriate to use a Singleton pattern in a .NET application? One application I inherited with suspect architecture has every business logic class set up to use the singleton pattern. What are the advantages of this other than not having to instantiate a new object everytime I want to access business logic?

Thanks!
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform