<PackageReference Include="System.ClientModel" Version="1.12.0" />

System.ClientModel.CollectionResult<T>

public abstract class CollectionResult<T> : CollectionResult, IEnumerable<T>, IEnumerable
Represents a collection of values returned from a cloud service operation. The collection values may be delivered over one or more service responses.
public static CollectionResult<T> FromPages(IEnumerable<IEnumerable<T>> pages)

Creates an instance of CollectionResult<T> using the provided pages of values.

Returns an enumerator that iterates through the collection.

protected abstract IEnumerable<T> GetValuesFromPage(ClientResult page)

Gets a collection of the values returned in a page response.