コード例 #1
0
 /// <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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public void SetUp()
 {
     _converter = new DuelLogConverter();
 }