source: extensions/PiwigoLib/PiwigoWpf/DTO/PwgTagWPF.cs @ 10784

Last change on this file since 10784 was 7150, checked in by bayral, 14 years ago

Piwigolib is now modify for mask the implementation of proxy.
Add start version of piwigo WPF

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.ComponentModel;
5
6
7namespace Com.Piwigo.Wpf.DTO
8{
9
10    public class PwgTagWPF : INotifyPropertyChanged
11    {
12        private Int32 _id;
13        public Int32 Id
14        {
15            set { _id = value; OnPropertyChanged("Id"); }
16            get { return _id; }
17        }
18
19        private String _name;
20        public String Name
21        {
22            set { _name = value; OnPropertyChanged("Name"); }
23            get { return _name; }
24        }
25
26        private String _urlName;
27        public String UrlName
28        {
29            set { _urlName = value; OnPropertyChanged("UrlName"); }
30            get { return _urlName; }
31        }
32
33        private Int64 _counter;
34        public Int64 Counter
35        {
36            set { _counter = value; OnPropertyChanged("Counter"); }
37            get { return _counter; }
38        }
39
40        private Uri _urlTag;
41        public Uri UrlTag
42        {
43            set { _urlTag = value; OnPropertyChanged("UrlTag"); }
44            get { return _urlTag; }
45        }
46
47        public event PropertyChangedEventHandler PropertyChanged;
48        private void OnPropertyChanged(String info)
49        {
50            if (PropertyChanged != null)
51                PropertyChanged(this, new PropertyChangedEventArgs(info));
52        }
53    }
54}
Note: See TracBrowser for help on using the repository browser.