コード例 #1
0
        /// <summary>
        ///     The SpecialOrReservedValues content
        /// </summary>
        public string GetText(int depth)
        {
            string tab = "";

            for (int i = 0; i < depth; i++)
            {
                tab += "    ";
            }
            string retVal = tab + "SpecialOrReservedValues:\n";

            if (allSpecial_or_reserved_values() != null)
            {
                foreach (special_or_reserved_value value in allSpecial_or_reserved_values())
                {
                    SpecialOrReservedValue specialValue = value as SpecialOrReservedValue;
                    retVal += specialValue.GetText(depth + 1);
                }
            }
            return(retVal);
        }
コード例 #2
0
        public override special_or_reserved_value createspecial_or_reserved_value()
        {
            special_or_reserved_value retVal = new SpecialOrReservedValue();

            _defaultValueSetter.SetDefaultValue(retVal);

            return retVal;
        }