System.Xml.Schema.XmlSchemaValidator.ValidateStartElementIdentityConstraints C# (CSharp) Méthode

ValidateStartElementIdentityConstraints() private méthode

private ValidateStartElementIdentityConstraints ( ) : void
Résultat void
        private void ValidateStartElementIdentityConstraints()
        {
            // added on June 15, set the context here, so the stack can have them
            if (ProcessIdentityConstraints && _context.ElementDecl.Constraints != null)
            {
                AddIdentityConstraints();
            }
            //foreach constraint in stack (including the current one)
            if (HasIdentityConstraints)
            {
                ElementIdentityConstraints();
            }
        }