Пример #1
0
 public ContentNode(SourceContextReference sourceContextReference, string content, bool escapeSpecialCharacters)
     : base(sourceContextReference, int.MaxValue)
 {
     this.content = content;
     this.escapeSpecialCharacters = escapeSpecialCharacters;
     this.nodeType = NodeType.Literal;
 }
Пример #2
0
 public AttributeNode(SourceContextReference sourceContextReference, int ordering, XmlnsPrefixAndName name, string value, bool escapeWhitespace)
     : base(sourceContextReference, ordering)
 {
     this.name             = name;
     this.value            = value;
     this.escapeWhitespace = escapeWhitespace;
 }
Пример #3
0
 public AttributeNode(SourceContextReference sourceContextReference, int ordering, XmlnsPrefixAndName name, string value)
     : this(sourceContextReference, ordering, name, value, true)
 {
 }
Пример #4
0
 protected FormattedNode(SourceContextReference sourceContextReference, int ordering)
 {
     this.sourceContextReference = sourceContextReference;
     this.indentingBehavior      = IndentingBehavior.LeaveUnchanged;
     this.ordering = ordering;
 }
Пример #5
0
 public ElementNode(SourceContextReference sourceContextReference, int ordering)
     : base(sourceContextReference, ordering)
 {
     this.attributes = new FormattedNodeCollection((ContainerNode)this);
 }
Пример #6
0
 public UnprocessedNode(string text, SourceContextReference sourceContext, int ordering)
     : base(sourceContext, ordering)
 {
     this.text = text;
 }