Exemple #1
0
 public Photo(string path)
 {
     _path     = path;
     _source   = new Uri(path);
     _image    = BitmapFrame.Create(_source);
     _metadata = new ExifMetadata(_source);
 }
Exemple #2
0
 public Photo(string path, string name, int id)
 {
     _name     = name;
     _path     = path;
     _source   = new Uri(path);
     _id       = id;
     _image    = BitmapFrame.Create(_source);
     _metadata = new ExifMetadata(_source);
 }