20 lines
470 B
C#
20 lines
470 B
C#
using System.Collections;
|
|
|
|
namespace Books.DataLoading;
|
|
|
|
public abstract class LoaderBase : IBookLoader
|
|
{
|
|
protected IReadOnlyCollection<Book>? Books;
|
|
|
|
public IEnumerator<Book> GetEnumerator()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
|
|
|
public abstract ValueTask DisposeAsync();
|
|
public abstract ValueTask LoadAsync();
|
|
|
|
public bool LoadingDone { get; protected set; }
|
|
}
|