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