public AttributeNode(SourceContextReference sourceContextReference, int ordering, XmlnsPrefixAndName name, string value, bool escapeWhitespace) : base(sourceContextReference, ordering) { this.name = name; this.value = value; this.escapeWhitespace = escapeWhitespace; }
public AttributeNode GetXmlSpaceAttribute() { for (int index = 0; index < this.attributes.Count; ++index) { AttributeNode attributeNode = this.attributes[index] as AttributeNode; if (attributeNode != null) { XmlnsPrefixAndName name = attributeNode.Name; if (object.Equals((object)name.Prefix, (object)ElementNode.XmlSpaceName.Prefix) && name.TypeQualifiedName == ElementNode.XmlSpaceName.TypeQualifiedName) { return(attributeNode); } } } return((AttributeNode)null); }
public AttributeNode(SourceContextReference sourceContextReference, int ordering, XmlnsPrefixAndName name, string value) : this(sourceContextReference, ordering, name, value, true) { }
public AttributeNode(XmlnsPrefixAndName name, string value) : this((SourceContextReference)null, int.MaxValue, name, value) { }