public StormPlayerTool(ILogger <StormPlayerTool> logger, StormReplayAnalyzer analyzer, IOptions <Settings> settings, ReplayHelper replayHelper)
 {
     this.logger       = logger;
     this.analyzer     = analyzer;
     this.replayHelper = replayHelper;
     this.settings     = settings.Value;
 }
Exemple #2
0
        public AnalyzerTests()
        {
            IOptions <Settings> options = new OptionsWrapper <Settings>(new Settings {
            });
            ReplayHelper helper         = new ReplayHelper(new NullLogger <ReplayHelper>(), options, new GameDataService());

            this.analyzer = new StormReplayAnalyzer(new NullLogger <StormReplayAnalyzer>(), options, helper);
        }
 public GamePanelTool(StormReplayAnalyzer analyzer, ReplayHelper replayHelper)
 {
     this.analyzer     = analyzer;
     this.replayHelper = replayHelper;
 }