Exemple #1
0
 /// <summary>
 /// Adds a DataRef to the message using the parent if the id is null.
 /// </summary>
 /// <param name="id">Instruction name or id, can be null</param>
 /// <param name="name">Name of the data item, can be null</param>
 /// <param name="parent">Parent instruction of this DataRef</param>
 public void AddDataRef(string id, Instruction parent)
 {
     DataRef dref = new DataRef(id, parent);
     int index = m_Body.Add(dref);
 }
Exemple #2
0
 /// <summary>
 /// Adds a DataRef to the message using the parent if the id is null.
 /// </summary>
 /// <param name="id">Instruction name or id, can be null</param>
 /// <param name="name">Name of the data item, can be null</param>
 /// <param name="parent">Parent instruction of this DataRef</param>
 public void AddDataRef(string id, Instruction parent)
 {
     DataRef dref  = new DataRef(id, parent);
     int     index = m_Body.Add(dref);
 }