Mind map
EL PATRON SINGLETON

Map content
EL PATRON SINGLETON
DESCRIPCION
- DEFINICION
- Es una forma de asegurar una única instancia de una clase
- Define una instancia que permite que los clientes accedan a su única intancia
- Puede ser responsable de crear su única instancia
- DEFINICION
ESTRUCTURA
EJEMPLO EN C#
- public class Singleton { private static Singleton instance = null; private Singleton() {} public static Singleton GetInstance() { if (instance == null) instance = new Singleton(); return instance; } }
REPRESENTACIÓN EN CLASES
Images and files in the map
Information
- Description
- Mind Map on EL PATRON SINGLETON, created by gonzalo alarcon on 15/11/2017.
- Created by
- gonzalo alarcon
- Views
- 0
- Rating