removed abstract on timeline, removed base prefix
This commit is contained in:
parent
c6439db00b
commit
f6f97055d5
@ -7,7 +7,7 @@ using SpotifyAPI.Web;
|
|||||||
namespace Selector
|
namespace Selector
|
||||||
{
|
{
|
||||||
public class AnalysedTrackTimeline
|
public class AnalysedTrackTimeline
|
||||||
: BaseTimeline<AnalysedTrack>, ITrackTimeline<AnalysedTrack>
|
: Timeline<AnalysedTrack>, ITrackTimeline<AnalysedTrack>
|
||||||
{
|
{
|
||||||
public IEqual EqualityChecker { get; set; }
|
public IEqual EqualityChecker { get; set; }
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ using SpotifyAPI.Web;
|
|||||||
namespace Selector
|
namespace Selector
|
||||||
{
|
{
|
||||||
public class PlayerTimeline
|
public class PlayerTimeline
|
||||||
: BaseTimeline<CurrentlyPlayingContext>, ITrackTimeline<CurrentlyPlayingContext>
|
: Timeline<CurrentlyPlayingContext>, ITrackTimeline<CurrentlyPlayingContext>
|
||||||
{
|
{
|
||||||
public IEqual EqualityChecker { get; set; }
|
public IEqual EqualityChecker { get; set; }
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Selector
|
namespace Selector
|
||||||
{
|
{
|
||||||
public abstract class BaseTimeline<T> : ITimeline<T>, IEnumerable<TimelineItem<T>> where T : class
|
public class Timeline<T> : ITimeline<T>, IEnumerable<TimelineItem<T>> where T : class
|
||||||
{
|
{
|
||||||
protected List<TimelineItem<T>> Recent = new();
|
protected List<TimelineItem<T>> Recent = new();
|
||||||
public int Count { get => Recent.Count; }
|
public int Count { get => Recent.Count; }
|
Loading…
Reference in New Issue
Block a user