Ejemplo n.º 1
0
        protected override void Visit(XmlSchema schema)
        {
            if (schema.TargetNamespace != _targetNamespace ||
                _schemaSetManager.IsDependencySchema(schema))
            {
                return;
            }

            Schemas.Add(schema);
            base.Visit(schema);
        }
Ejemplo n.º 2
0
        protected override void Visit(XmlSchema schema)
        {
            if (_schemaSetManager.IsDependencySchema(schema))
            {
                return;
            }

            PushTopic(TopicType.Namespace, schema.TargetNamespace, null, schema.TargetNamespace);
            AddTopic(TopicType.Schema, schema.TargetNamespace, schema, schema.GetSchemaName());
            base.Visit(schema);
            PopTopic();
        }