public void UpdateAdditionlaInfo() { var newAddtionalInfo = new List <ProductInfo>(); if (EnableTarget) { newAddtionalInfo.AddRange(ListManager.Instance.TargetingRecods.MergeSet(AddtionalInfo)); } if (EnableRichMedia) { newAddtionalInfo.AddRange(ListManager.Instance.RichMediaRecods.MergeSet(AddtionalInfo)); } AddtionalInfo.Clear(); AddtionalInfo.AddRange(newAddtionalInfo); }
public void Dispose() { Websites.Clear(); AddtionalInfo.Clear(); PackageRecord.Dispose(); PackageRecord = null; AdPlanSettings.Dispose(); AdPlanSettings = null; OutputData.Dispose(); OutputData = null; Parent = null; }