public ReadPageServiceBuildUrl ( IPageUrlBuilder <TItem> pageUrlBuilder, IReadPageService <TItem> next ) { _pageUrlBuilder = pageUrlBuilder ?? throw new ArgumentNullException(nameof(pageUrlBuilder)); _next = next ?? throw new ArgumentNullException(nameof(next)); }
public ReadPageService(IReadPageService <TItem> next) { _next = next ?? throw new ArgumentNullException(nameof(next)); }