コード例 #1
0
        // -------------------------------------------

        /*
         * EqualsEntry
         */
        public bool EqualsEntry(ItemMultiTextEntry _item)
        {
            bool output = true;

            for (int i = 0; i < m_items.Count; i++)
            {
                if (i < _item.Items.Count)
                {
                    if (m_items[i] != _item.Items[i])
                    {
                        output = false;
                    }
                }
                else
                {
                    output = false;
                }
            }
            return(output);
        }
コード例 #2
0
        // -------------------------------------------

        /*
         * Clone
         */
        public ItemMultiTextEntry Clone()
        {
            ItemMultiTextEntry output = new ItemMultiTextEntry(m_items.ToArray());

            return(output);
        }