using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Props.Shop.Framework; namespace Props.Shop.Ebay.Actions { public class SearchRequest : IAsyncEnumerable { private HttpClient http; private string[] query; public SearchRequest(HttpClient http, string[] query) { this.http = http ?? throw new ArgumentNullException("http"); this.query = query ?? throw new ArgumentNullException("query"); } public IAsyncEnumerator GetAsyncEnumerator(CancellationToken cancellationToken = default) { throw new System.NotImplementedException(); } public class Enumerator : IAsyncEnumerator { private HttpClient http; private string[] query; public Enumerator(HttpClient http, string[] query) { this.http = http; this.query = query; } public ProductListing Current { get; private set; } public ValueTask MoveNextAsync() { // TODO: Implement this. throw new System.NotImplementedException(); } public ValueTask DisposeAsync() { // TODO: Implement this. throw new System.NotImplementedException(); } } } }