Example #1
0
 public void AddContent(XslNode node)
 {
     Debug.Assert(node != null);
     if (_content == null)
     {
         _content = new List <XslNode>();
     }
     _content.Add(node);
 }
Example #2
0
 public new void AddContent(XslNode node)
 {
     Debug.Assert(node != null && node.NodeType == XslNodeType.List);
     base.AddContent(node);
 }
Example #3
0
 public void AddContent(XslNode node)
 {
     Debug.Assert(node != null);
     _content ??= new List <XslNode>();
     _content.Add(node);
 }
Example #4
0
 protected virtual T Visit(XslNode node) =>
 node.NodeType switch
 {