public Test() { writer = new StreamWriter( @"C:\Users\fbmrm1\Desktop\TestPlays.txt", true ); conversion = new PlayConversion(); _players = new Dictionary<string, PlayerGameDetails>(); _lanparser = new LanguageParser(new ErrorLog(@".\Test.txt")); }
public GameParser(ErrorLog logger, IGameDBContext dbcontext) { _lanparser = new LanguageParser(logger); _playConversion = new PlayConversion(); _dbcontext = dbcontext; _logger = logger; _sequence = 0; _atBatNum = 0; _pitchSequence = 0; _inning = 1; _outs = 0; _prevOuts = 0; _half = "top"; }