public ReplayFileProvider(ILogger <ReplayFileProvider> logger, IReplayLoader loader, AppSettings settings, IReplayHelper replayHelper) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.loader = loader ?? throw new ArgumentNullException(nameof(loader)); this.settings = settings ?? throw new ArgumentNullException(nameof(settings)); this.replayHelper = replayHelper ?? throw new ArgumentNullException(nameof(replayHelper)); fileInfo = new FileInfo(settings.Location.ReplaySource); }
public MissAnalyzer(IReplayLoader replayLoader) : this(replayLoader.Replay, replayLoader.Beatmap, replayLoader.ReplayAnalyzer) { ColorScheme = replayLoader.ColorScheme ?? ColorScheme.Default; }
public MissAnalyzer(IReplayLoader replayLoader) : this(replayLoader.Replay, replayLoader.Beatmap, replayLoader.ReplayAnalyzer) { }