/// <summary> /// Initializes a new instance of the <see cref="DuelLogNameAnalyzer"/> class. /// </summary> /// <param name="db">The database.</param> /// <param name="config">The configuration.</param> public DuelLogNameAnalyzer( YgoProAnalyticsDatabase db, IAdminConfig config, IDuelLogConverter converter) { _banlists = db.Banlists.Include(x => x.Statistics).ToList(); _config = config; _converter = converter; }
public YgoProServerDataRetriever( IFTPDownloader fTPDownloader, IAdminConfig adminConfig, IFileUnzipper unzipper, IDuelLogConverter duelLogConverter, IMediator mediator, YgoProAnalyticsDatabase db) { _fTPDownloader = fTPDownloader; _adminConfig = adminConfig; _unzipper = unzipper; _duelLogConverter = duelLogConverter; _mediator = mediator; _db = db; }
public void SetUp() { _converter = new DuelLogConverter(); }