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