Skip to content

Commit

Permalink
Merge pull request #205 from Yaevh/readonlylist
Browse files Browse the repository at this point in the history
adding `IReadOnlyList<T>` interface to `IPagedList<T>`
  • Loading branch information
ernado-x authored Apr 28, 2021
2 parents 3fb8ac7 + 0b757ef commit 17ca274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/X.PagedList/IPagedList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace X.PagedList
/// </remarks>
/// <typeparam name="T">The type of object the collection should contain.</typeparam>
/// <seealso cref="IEnumerable{T}"/>
public interface IPagedList<out T> : IPagedList, IEnumerable<T>
public interface IPagedList<out T> : IPagedList, IReadOnlyList<T>, IEnumerable<T>
{
///<summary>
/// Gets the element at the specified index.
Expand Down

0 comments on commit 17ca274

Please sign in to comment.