Пример #1
0
 protected internal abstract void RemoveChild(YNode node);
Пример #2
0
 protected internal abstract YNode GetNextNode(YNode node);
Пример #3
0
 protected internal abstract YNode GetPreviousNode(YNode node);
Пример #4
0
 protected internal override YNode GetNextNode(YNode node)
 {
     return(node == this.LastNode ? null :
            node is YKeyValuePair pair ? this.Children[this.Children.IndexOf(pair) + 1] : null);
 }
Пример #5
0
 protected internal override YNode GetPreviousNode(YNode node)
 {
     return(node == this.FirstNode ? null :
            node is YKeyValuePair pair ? this.Children[this.Children.IndexOf(pair) - 1] : null);
 }
Пример #6
0
 // https://gist.github.com/bowsersenior/979804
 internal YAnchor(YNode value)
     : base(YNodeStyle.Block)
 {
     this.Value = value;
 }