public MetadataEntry GetAndRemoveValue(MetadataKey key)
        {
            MetadataEntry value = exifMetadata.Find(p => p.Section == key.Section && p.TagId == key.TagId);

            if (value != null)
            {
                exifMetadata.RemoveAll(p => p.Section == key.Section && p.TagId == key.TagId);
            }

            return(value);
        }
Example #2
0
 public MetadataEntry(MetadataKey key, TagDataType type, byte[] data)
     : this(key.Section, key.TagId, type, data)
 {
 }