removed abstract on timeline, removed base prefix

This commit is contained in:
andy 2021-10-17 21:43:01 +01:00
parent c6439db00b
commit f6f97055d5
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ using SpotifyAPI.Web;
namespace Selector
{
public class AnalysedTrackTimeline
: BaseTimeline<AnalysedTrack>, ITrackTimeline<AnalysedTrack>
: Timeline<AnalysedTrack>, ITrackTimeline<AnalysedTrack>
{
public IEqual EqualityChecker { get; set; }

View File

@ -7,7 +7,7 @@ using SpotifyAPI.Web;
namespace Selector
{
public class PlayerTimeline
: BaseTimeline<CurrentlyPlayingContext>, ITrackTimeline<CurrentlyPlayingContext>
: Timeline<CurrentlyPlayingContext>, ITrackTimeline<CurrentlyPlayingContext>
{
public IEqual EqualityChecker { get; set; }

View File

@ -6,7 +6,7 @@ using System.Text;
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();
public int Count { get => Recent.Count; }