Ejemplo n.º 1
0
        public void Add(AutoTypeAssociation a)
        {
            if (a == null)
            {
                Debug.Assert(false); throw new ArgumentNullException("a");
            }

            m_lWindowAssocs.Add(a);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// The add.
        /// </summary>
        /// <param name="a">
        /// The a.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// </exception>
        public void Add(AutoTypeAssociation a)
        {
            Debug.Assert(a != null);
            if (a == null)
            {
                throw new ArgumentNullException("a");
            }

            this.m_lWindowAssocs.Add(a);
        }
Ejemplo n.º 3
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);
        }