Esempio n. 1
0
        /// <summary>
        ///     Handler for the InlineType element
        /// </summary>
        /// <param name="reader"> xml reader currently positioned at InlineType element </param>
        private void HandleInlineTypeElement(XmlReader reader)
        {
            DebugCheck.NotNull(reader);

            var complexType = new SchemaComplexType(this);

            complexType.Parse(reader);

            TryAddType(complexType, true /*doNotAddErrorForEmptyName*/);
        }
Esempio n. 2
0
        /// <summary>
        /// Handler for the InlineType element
        /// </summary>
        /// <param name="reader">xml reader currently positioned at InlineType element</param>
        private void HandleInlineTypeElement(XmlReader reader)
        {
            Debug.Assert(reader != null);

            var complexType = new SchemaComplexType(this);

            complexType.Parse(reader);

            TryAddType(complexType, true /*doNotAddErrorForEmptyName*/);
        }