Exemple #1
0
 //------------------------------------------------------------
 // CDictionary.CopyContentsFrom (2)
 //
 /// <summary>
 /// <para>Use this to copy the contents from the given table to this table</para>
 ///	<para>Add all date in other.cdataDictionary to this.cdataDictionary.</para>
 ///	<para>Not add data with duplicate keys.</para>
 /// </summary>
 /// <param name="other"></param>
 //------------------------------------------------------------
 internal void CopyContentsFrom(CDictionary <CDATA> other)
 {
     if (other.cdataDictionary == null)
     {
         return;
     }
     other.CopyContents(this.cdataDictionary, null);
 }
Exemple #2
0
 //------------------------------------------------------------
 // CDictionary.CopyContentsFrom (1)
 //
 /// <summary>
 /// <para>Use this to copy the contents from the given table to this table</para>
 ///	<para>Add all date in other.cdataDictionary to this.cdataDictionary.</para>
 ///	<para>If dup is valid, add data with duplicate keys to dup.</para>
 /// </summary>
 /// <param name="other"></param>
 /// <param name="dup"></param>
 //------------------------------------------------------------
 virtual internal void CopyContentsFrom(CDictionary <CDATA> other, Dictionary <string, CDATA> dup)
 {
     if (other.cdataDictionary == null)
     {
         return;
     }
     other.CopyContents(this.cdataDictionary, dup);
 }