ATMLSchemaLibrary.managers.SchemaManager.ExtractAttributes C# (CSharp) Method

ExtractAttributes() public static method

public static ExtractAttributes ( XmlSchemaComplexType cce, XmlSchemaObject>.Dictionary xmlSchemaObjects ) : void
cce System.Xml.Schema.XmlSchemaComplexType
xmlSchemaObjects XmlSchemaObject>.Dictionary
return void
        public static void ExtractAttributes( XmlSchemaComplexType cce,
            Dictionary<string, XmlSchemaObject> xmlSchemaObjects)
        {
            if (cce != null)
            {
                XmlSchemaObjectCollection attributes = cce.Attributes;
                LoadAttributes( xmlSchemaObjects, attributes );

                if (cce.BaseXmlSchemaType != null)
                {
                    var ccee = cce.BaseXmlSchemaType as XmlSchemaComplexType;
                    if (ccee != null)
                    {
                        ExtractAttributes( ccee, xmlSchemaObjects );
                    }
                }
            }
        }

Same methods

SchemaManager::ExtractAttributes ( XmlSchemaComplexContentExtension cce, XmlSchemaObject>.Dictionary xmlSchemaObjects ) : void