source: extensions/PiwigoLib/PiwigoUpload/DTO/ModelManager.cs @ 12256

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

adding PiwigoUpload project for a simple tools for upload your photo recursively

File size: 1.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.ComponentModel;
5using Com.Piwigo.Lib.DTO;
6
7namespace Com.Piwigo.Uploader.DTO
8{
9    public sealed class ModelManager
10    {
11         static readonly ModelManagerBase _instance = new ModelManagerBase();
12
13        // Explicit static constructor to tell C# compiler
14        // not to mark type as beforefieldinit
15        static ModelManager()
16        {
17        }
18
19        public static ModelManagerBase Instance
20        {
21            get
22            {
23                return _instance;
24            }
25        }
26
27        public class ModelManagerBase 
28        {
29            public PwgSession sess { get; set; }
30            public SelectedPwgCategoryList lstCat { get; set; }
31            public Boolean isConnected { get; set; }
32            public String directoryName { get; set; }
33            public Uri serveurName { get; set; }
34            public String userName { get; set; }
35            public String password { get; set; }
36        }
37    }
38}
Note: See TracBrowser for help on using the repository browser.