/// <summary> /// Create a new <see cref="Dictionary"/> instance. /// </summary> /// <param name="AIgnoreCase">If <c>true</c>, ignore case when comparing keys.</param> public Dictionary(bool AIgnoreCase = true) : this( AVDictionary.Alloc(), AIgnoreCase ? AVDictFlags.NONE : AVDictFlags.AV_DICT_MATCH_CASE ) { }
public Dictionary Clone() { var clone = new Dictionary(AVDictionary.Alloc(), Flags); try { AVDictionary.Copy(ref clone.Ref, Ref, Flags); } catch { clone.Clear(); throw; } return(clone); }