Esempio n. 1
0
 /// <summary>
 /// Sets the Name edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Name edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setName(Columbus.Csharp.Asg.Nodes.Structure.XmlNameSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkXmlProcessingInstructionSyntax_Name);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the Name edge.
 /// </summary>
 /// <param name="node">[in] The new end point of the Name edge.</param>
 /// <exception cref="Columbus.Csharp.Asg.CsharpException">Throws CsharpException if there's something wrong with the given node.</exception>
 public void setName(Columbus.Csharp.Asg.Nodes.Structure.XmlNameSyntax node)
 {
     if (m_Name != 0)
     {
         removeParentEdge(m_Name);
     }
     m_Name = node.Id;
     setParentEdge(m_Name, (uint)Types.EdgeKind.edkXmlElementStartTagSyntax_Name);
 }