public void GetPlayerStatsTest()
        {
            var _saveStatePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"SaveState\nhl94.zs3");
            var _statreader = new StatReader(_saveStatePath);

            var PSM = new PlayerStatManager(_statreader);
            var PSmodel = PSM.GetPlayerStats();
            var _boxscore = new Boxscore();
            _boxscore.playerstats = PSmodel;

            Assert.True(_boxscore.playerstats != null, "PlayerStats Model & Boxscore Created");
        }
        public void GetScoringSummaryTest()
        {
            var _saveStatePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"SaveState\nhl94.zs3");
            var _statreader = new StatReader(_saveStatePath);

            var SSM = new ScoringSummaryManager(_statreader);
            var SSmodel = SSM.GetScoringSummary();
            var _boxscore = new Boxscore();
            _boxscore.scoringsummary = SSmodel;

            Assert.True(_boxscore.scoringsummary != null, "ScoringSummary Model & Boxscore Created");
        }
        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    _statreader.Close();
                }

                _boxscore = null;

                disposedValue = true;
            }
        }
 private void CreateStatReader(String SaveStatePath)
 {
     logger.Info("Called with (SaveStatePath=\"{0}\")", SaveStatePath);
     if (_savestatepath != SaveStatePath && _statreader != null) { _statreader.Close(); _statreader = null; _boxscore = null; logger.Info("Creating New StatReader As A New Save State Files Has Been Passed In."); }
     _statreader = (_statreader == null) ? _statreader = new StatReader(SaveStatePath) : _statreader;
     _boxscore = (_boxscore == null) ? _boxscore = new Boxscore() : _boxscore;
     _savestatepath = SaveStatePath;
 }