Spotify.NET/SpotifyAPI.Web/Models/IPaginatable.cs
2020-06-13 12:55:48 +02:00

22 lines
453 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public interface IPaginatable<T>
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
string Next { get; set; }
List<T> Items { get; set; }
}
public interface IPaginatable<T, TNext>
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
string Next { get; set; }
List<T> Items { get; set; }
}
}