public PagerList([NotNull] [ItemNotNull] IEnumerable<PagerItem> items) { if (items == null) { throw new ArgumentNullException(nameof(items)); } Items = items; }