public void CopyTo(Dictionary ADictionary) { if (ADictionary == null) { throw new ArgumentNullException(nameof(ADictionary)); } AVDictionary.Copy(ref ADictionary.Ref, Ref, Flags); }
public Dictionary Clone() { var clone = new Dictionary(AVDictionary.Alloc(), Flags); try { AVDictionary.Copy(ref clone.Ref, Ref, Flags); } catch { clone.Clear(); throw; } return(clone); }