示例#1
0
        IPropertyListItem IPropertyListDictionary.Add(string key, int value)
        {
            if (string.IsNullOrEmpty(key))
            {
                throw new ArgumentNullException("key");
            }

            var item = new PropertyListInt32Item(key, value);

            return(Add(item));
        }
        IPropertyListItem IPropertyListDictionary.Add(string key, int value)
        {
            if (string.IsNullOrEmpty(key))
                throw new ArgumentNullException("key");

            var item = new PropertyListInt32Item(key, value);
            return Add(item);
        }
 IPropertyListItem IPropertyListItem.Add(int value)
 {
     var item = new PropertyListInt32Item(null, value);
     return Add(item);
 }
示例#4
0
        IPropertyListItem IPropertyListItem.Add(int value)
        {
            var item = new PropertyListInt32Item(null, value);

            return(Add(item));
        }