示例#1
0
        public Dictionary(IDictionary dictionary) : this()
        {
            if (dictionary == null)
            {
                throw new NullReferenceException($"Parameter '{nameof(dictionary)} cannot be null.'");
            }

            MarshalUtils.IDictionaryToDictionary(dictionary, GetPtr());
        }