/// <summary> /// Adds the history item. /// </summary> /// <param name="historyitem">The historyitem.</param> public void AddHistoryItem(HistoryItemType historyitem) { SetupResponse(); if (this.GetItemsResponse.GetItemsItems.HistoryItems == null) this.GetItemsResponse.GetItemsItems.HistoryItems = new List<HistoryItemType>(); this.GetItemsResponse.GetItemsItems.HistoryItems.Add(historyitem); }
/// <summary> /// Adds the history item. /// </summary> /// <param name="historyitem">The historyitem.</param> public void AddHistoryItem(HistoryItemType historyitem) { if (this.Items == null) this.Items = new ContainerItemTypeItems(); if (this.Items.HistoryItems == null) this.Items.HistoryItems = new List<HistoryItemType>(); this.Items.HistoryItems.Add(historyitem); }