using System.Collections.ObjectModel; using System.Runtime.InteropServices; using Modelo; namespace Controladora { public abstract class Singleton where T : new() { // Singleton thread-safe por si quiero usar "Parallel" private static T instance = new T(); public static T Instance { get { return instance; } } } }