Exemplo n.º 1
0
 private void MergeJAW(AssetJAW asset)
 {
     foreach (Asset a in assetDictionary.Values)
     {
         if (a is AssetJAW JAW)
         {
             JAW.Merge(asset);
             return;
         }
     }
 }
Exemplo n.º 2
0
        public void Merge(AssetJAW asset)
        {
            var entries = JAW_Entries.ToList();

            foreach (var entry in asset.JAW_Entries)
            {
                entries.Remove(entry);
                entries.Add(entry);
            }

            JAW_Entries = entries.ToArray();
        }