Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | |
---|
6 | namespace 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.