source: extensions/PiwigoLib/PiwigoWpf/DTO/PwgModelManager.cs @ 11904

Last change on this file since 11904 was 11904, checked in by bayral, 13 years ago

PiwigoWPF

File size: 844 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace Com.Piwigo.Wpf.DTO
7{
8    public sealed class PwgModelManager
9    {
10        static readonly PwgModelManagerBase _instance = new PwgModelManagerBase();
11
12        // Explicit static constructor to tell C# compiler
13        // not to mark type as beforefieldinit
14        static PwgModelManager()
15        {
16        }
17
18        public static PwgModelManagerBase Instance
19        {
20            get
21            {
22                return _instance;
23            }
24        }
25
26        public class PwgModelManagerBase
27        {
28            public PwgImageListWPF ImageList { get; set; }
29            public PwgSessionWPF Session { get; set; }
30            public PwgCategoryListWPF CategoryList { get; set; }
31        }
32
33    }
34}
Note: See TracBrowser for help on using the repository browser.