21 lines
386 B
C#
21 lines
386 B
C#
|
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>()!;
|
||
|
}
|
||
|
}
|