// Author: Dwivedi, Ajay kumar // Adwiv@Yahoo.com using System; namespace System.Xml.Schema { /// /// Summary description for XmlSchemaKey. /// public class XmlSchemaKey : XmlSchemaIdentityConstraint { private int errorCount; public XmlSchemaKey() { } /// /// 1. name must be present /// 2. selector and field must be present /// [MonoTODO] internal new int Compile(ValidationEventHandler h, XmlSchemaInfo info) { return base.Compile(h,info); } [MonoTODO] internal int Validate(ValidationEventHandler h) { return errorCount; } internal new void error(ValidationEventHandler handle, string message) { errorCount++; ValidationHandler.RaiseValidationError(handle, this, message); } } }