internal Thumbnail(Photo photo, ImageNameRecord record) { this.photo = photo; this.record = record; if (record.CorrelationId > 0) { Format = photo.PhotoDatabase.Device.LookupArtworkFormat (record.CorrelationId); } }
public Thumbnail CreateThumbnail() { ImageNameRecord name = new ImageNameRecord (item.IsBE); item.AddName (name); Thumbnail thumbnail = new Thumbnail (this, name); thumbnails.Add (thumbnail); return thumbnail; }