Beispiel #1
0
        public Photo AsDirty() {
            Photo p = new Photo() {
                id = this.id,
                takenOnTimeStamp = this.takenOnTimeStamp,
                images = new Image[images.Count()],
            };

            for(var i=0;i<images.Count();i++) {
                p.images[i] = images[i].AsDirty();
            }

            return p;
        }
 public PivotDataHolder(string title, Photo photo) {
     this.title = title;
     this.photo = photo;
 }