public bool TryGetTag(int tag, out IExifTag outTag) { outTag = null; bool exists = false; if (exifTags.ContainsKey(tag)) { outTag = exifTags[tag]; exists = true; } return(exists); }
public void AddExifTag(IExifTag tag) { exifTags.Add(tag.Tag, tag); }