Пример #1
0
 /// <summary>
 /// Adds a variable to this table under the given name.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="variable"></param>
 public void AddVariable(XName name, TriflesXPathExtensionVariable variable)
 {
     variables.Add(name, variable);
 }
Пример #2
0
 /// <summary>
 /// Adds a function to this table under the given name.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="function"></param>
 public void AddFunction(XName name, TriflesXPathExtensionFunction function)
 {
     functions.Add(name, function);
 }