Started UI Rework for target game setup, started adding a Game master record and a CSV Loader service
This commit is contained in:
20
Stars Assistant/Services/CSVDataLoader.cs
Normal file
20
Stars Assistant/Services/CSVDataLoader.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using CsvHelper.Configuration;
|
||||
using CsvHelper;
|
||||
using Splat;
|
||||
|
||||
namespace StarsAssistant.Services;
|
||||
|
||||
|
||||
public class CSVDataLoader
|
||||
{
|
||||
/// <summary>
|
||||
/// Reference to the game metadata, retrieved by DI
|
||||
/// </summary>
|
||||
protected Model.Game game;
|
||||
|
||||
public CSVDataLoader()
|
||||
{
|
||||
game = Locator.Current.GetService<Model.Game>()!;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user