Esempio n. 1
0
 public void Visit(CustomNode node)
 {
     if (node != null)
     {
         // ask the custom node implementation
         DoesRequire = node.RequiresSeparator;
     }
 }
 public void Visit(CustomNode node)
 {
     if (node != null)
     {
         // whatever people plug in. Hopefully it's valid JSON.
         OutputString(node.ToCode());
     }
 }
Esempio n. 3
0
 public void Visit(CustomNode node)
 {
     // we don't know, so assume it's not safe and bail.
     m_isSafe = false;
 }
 public void Visit(CustomNode node)
 {
     // we're good
 }
Esempio n. 5
0
 public void Visit(CustomNode node)
 {
     // ignore, but don't throw error
 }