using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Com.Piwigo.Wpf.DTO { public sealed class PwgModelManager { static readonly PwgModelManagerBase _instance = new PwgModelManagerBase(); // Explicit static constructor to tell C# compiler // not to mark type as beforefieldinit static PwgModelManager() { } public static PwgModelManagerBase Instance { get { return _instance; } } public class PwgModelManagerBase { public PwgImageListWPF ImageList { get; set; } public PwgSessionWPF Session { get; set; } public PwgCategoryListWPF CategoryList { get; set; } } } }