fabricator/DataProvider.cs
Eero Holmala 7a4f707f39 Added basic argument parser. Started some class
stubs for reading and storing data. Also added README.
2024-01-23 13:32:30 +02:00

21 lines
358 B
C#

namespace Fab;
public abstract class DataProvider
{
private IDataSource? Source { get; set; }
public DataStore? Store { get; set; }
public DataProvider(IDataSource? Source)
{
this.Source = Source ?? throw new Exception("No valid data source provided.");
this.Store = Source.ToStore();
}
}
public class DataStore
{
}