2
using System.Xml.Schema;
3
using System.Xml.Serialization;
8
/// EXIF data for the selected photo.
11
public class ExifPhoto
13
internal ExifPhoto(string photoId, string secret, int server, ExifTag[] array)
18
_tagCollection = array;
21
private string _photoId;
22
private string _secret;
24
private ExifTag[] _tagCollection;
27
/// The Photo ID for the photo whose EXIF data this is.
31
get { return _photoId; }
35
/// The Secret of the photo.
39
get { return _secret; }
43
/// The server number for the photo.
47
get { return _server; }
51
/// An array of EXIF tags. See <see cref="ExifTag"/> for more details.
53
public ExifTag[] ExifTagCollection
55
get { return _tagCollection; }
60
/// Details of an individual EXIF tag.
65
private string _tagSpace;
66
private int _tagSpaceId;
68
private string _label;
70
private string _clean;
73
/// The type of EXIF data, e.g. EXIF, TIFF, GPS etc.
75
[XmlAttribute("tagspace")]
76
public string TagSpace
78
get { return _tagSpace; }
79
set { _tagSpace = value; }
83
/// An id number for the type of tag space.
85
[XmlAttribute("tagspaceid")]
88
get { return _tagSpaceId; }
89
set { _tagSpaceId = value; }
103
/// The label, or description for the tag, such as Aperture
106
[XmlAttribute("label")]
109
get { return _label; }
110
set { _label = value; }
114
/// The raw EXIF data.
120
set { _raw = value; }
124
/// An optional clean version of the <see cref="Raw"/> property.
125
/// May be null if the <c>Raw</c> property is in a suitable format already.
127
[XmlElement("clean")]
130
get { return _clean; }
131
set { _clean = value; }