source: extensions/PiwigoLib/PiwigoUpload/DTO/PwgUploadOption.cs @ 27153

Last change on this file since 27153 was 13847, checked in by bayral, 12 years ago

add forgotten files

File size: 997 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Com.Piwigo.Lib.DTO;
6using System.ComponentModel;
7
8namespace Com.Piwigo.Uploader.DTO
9{
10    public class PwgUploadOption : INotifyPropertyChanged
11    {
12        private String _author;
13        public String Author
14        {
15            set { _author = value; OnPropertyChanged("Author"); }
16            get { return _author; }
17        }
18
19        private PwgConfidentLevelEnum _confidentialLevel;
20        public PwgConfidentLevelEnum ConfidentialLevel
21        {
22            set { _confidentialLevel = value; OnPropertyChanged("ConfidentialLevel"); }
23            get { return _confidentialLevel; }
24        }
25
26        public event PropertyChangedEventHandler PropertyChanged;
27        protected void OnPropertyChanged(String info)
28        {
29            if (PropertyChanged != null)
30                PropertyChanged(this, new PropertyChangedEventArgs(info));
31        }
32
33    }
34}
Note: See TracBrowser for help on using the repository browser.