public virtual object GetProperty(string name) { if (_parent != null) { return(_parent.GetProperty(name)); } throw new SAXNotRecognizedException("Property: " + name); }
/// <summary>Returns an <see cref="IProperty<T>"/> interface for the property /// identified by <c>name</c>.</summary> /// <remarks>Difference to Java: Will throw <see cref="SaxException"/> /// if parent is <c>null</c>.</remarks> /// <seealso href="http://www.saxproject.org/apidoc/org/xml/sax/XMLReader.html#getProperty(java.lang.String)"> /// getProperty(java.lang.String) on www.saxproject.org</seealso> public IProperty <T> GetProperty <T>(string name) { CheckParent(); return(parent.GetProperty <T>(name)); }