Exemple #1
0
        protected bool OnXmlParseErrorOccurred(XElement aParentElement, XmlErrorTypes aErrorType, string aInformation)
        {
            if (XmlParseErrorOccurred != null)
            {
                var args = new XmlParseErrorOccurredEventArgs(aParentElement, aErrorType, aInformation);
                XmlParseErrorOccurred(this, args);

                return(args.Abort);
            }

            return(false);
        }
 public XmlParseErrorOccurredEventArgs(XElement aParentElement, XmlErrorTypes aErrorType, string aInformation)
 {
     Parent      = aParentElement;
     ErrorType   = aErrorType;
     Information = aInformation;
 }
 public XmlParseErrorOccurredEventArgs( XElement aParentElement, XmlErrorTypes aErrorType, string aInformation )
 {
     Parent = aParentElement;
       ErrorType = aErrorType;
       Information = aInformation;
 }