コード例 #1
0
        /// <summary>
        /// Sets the default table if no table id is provided.
        /// </summary>
        public CustomVariantResolver SetDefaultTable(VariantTable inTable)
        {
            if (inTable == null)
            {
                throw new ArgumentNullException("inTable");
            }

            if (m_DefaultTable == null)
            {
                m_DefaultTable = new TableRule();
            }
            m_DefaultTable.SetConst(inTable);
            return(this);
        }