blob: b3c2fbd342d8461ab4479f126d0e3b80777f13b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#nullable enable
namespace MorgSimulator.Framework
{
public abstract class EntityReader<T>(Reader.Reader reader, IEntityFactory<T> factory) : Reader.ReaderDecorator(reader) where T : Entity
{
protected readonly IEntityFactory<T> _factory = factory;
public abstract T? ReadEntity(int id);
}
}
#nullable disable
|