System.Xml.Schema.XdrValidator.ProcessInlineSchema C# (CSharp) Méthode

ProcessInlineSchema() private méthode

private ProcessInlineSchema ( ) : void
Résultat void
        private void ProcessInlineSchema() {
            if (!inlineSchemaParser.ParseReaderNode()) { // Done
                    inlineSchemaParser.FinishParsing();
                    SchemaInfo xdrSchema = inlineSchemaParser.XdrSchema;
                    if (xdrSchema != null && xdrSchema.ErrorCount == 0) {
                        foreach(string inlineNS in xdrSchema.TargetNamespaces.Keys) {
                            if (!SchemaInfo.HasSchema(inlineNS)) {
                                schemaInfo.Add(xdrSchema, EventHandler);
                                SchemaCollection.Add(inlineNS, xdrSchema, null, false);
                                break;
                            }
                        }
                    }
                    inlineSchemaParser = null;
            }
        }