/// <summary> /// Initializes a new instance of <see cref="DeliveryItemsFeed{T}"/> class. /// </summary> /// <param name="getFeedResponseAsync">Function to retrieve next batch of content items.</param> public DeliveryItemsFeed(GetFeedResponse getFeedResponseAsync) { _getFeedResponseAsync = getFeedResponseAsync; }
/// <summary> /// Initializes a new instance of <see cref="DeliveryItemsFeed{T}"/> class. /// </summary> /// <param name="getFeedResponseAsync">Function to retrieve next batch of content items.</param> internal DeliveryItemsFeed(GetFeedResponse getFeedResponseAsync) { _getFeedResponseAsync = getFeedResponseAsync; }
void Callback(GetFeedResponse response) { Debug.WriteLine(response.FeedUrl); }