Пример #1
0
        /// <summary>
        /// Adds a reason element to a node and returns it.
        /// </summary>
        /// <param name="targetNode">The target node.</param>
        /// <returns>The new reason element.</returns>
        private TNode AddReasonElement(TNode targetNode)
        {
            TNode reasonNode = targetNode.AddElement("reason");

            return(reasonNode.AddElementWithCDATA("message", Message));
        }
Пример #2
0
 private TNode AddOutputElement(TNode targetNode)
 {
     return targetNode.AddElementWithCDATA("output", Output);
 }
Пример #3
0
 private TNode AddOutputElement(TNode targetNode)
 {
     return(targetNode.AddElementWithCDATA("output", Output));
 }