Пример #1
0
        public void Add(AutoTypeAssociation a)
        {
            if (a == null)
            {
                Debug.Assert(false); throw new ArgumentNullException("a");
            }

            m_lWindowAssocs.Add(a);
        }
Пример #2
0
        public void Insert(int iIndex, AutoTypeAssociation a)
        {
            if ((iIndex < 0) || (iIndex > m_lWindowAssocs.Count))
            {
                throw new ArgumentOutOfRangeException("iIndex");
            }
            if (a == null)
            {
                Debug.Assert(false); throw new ArgumentNullException("a");
            }

            m_lWindowAssocs.Insert(iIndex, a);
        }