Esempio n. 1
0
 // ========================================
 // method
 // ========================================
 public virtual void CopyDataTo(IExtendedData extendedData)
 {
     if (extendedData == null)
     {
         return;
     }
     foreach (string key in AsDictionary.Keys)
     {
         extendedData.AsDictionary[key] = AsDictionary[key];
     }
 }
Esempio n. 2
0
 public virtual void ComplementDataTo(IExtendedData extendedData)
 {
     if (extendedData == null)
     {
         return;
     }
     foreach (string key in AsDictionary.Keys)
     {
         if (!extendedData.AsDictionary.ContainsKey(key))
         {
             extendedData.AsDictionary[key] = AsDictionary[key];
         }
     }
 }