public ScoreDatabase(Storage storage, IIpcHost importHost = null, BeatmapDatabase beatmaps = null) { this.storage = storage; this.beatmaps = beatmaps; if (importHost != null) { ipc = new ScoreIPCChannel(importHost, this); } }
public ScoreStore(DatabaseContextFactory factory, IIpcHost importHost = null, BeatmapManager beatmaps = null, RulesetStore rulesets = null) : base(factory) { this.beatmaps = beatmaps; this.rulesets = rulesets; if (importHost != null) { ipc = new ScoreIPCChannel(importHost, this); } }
public ScoreDatabase(Storage storage, SQLiteConnection connection, IIpcHost importHost = null, BeatmapDatabase beatmaps = null, RulesetDatabase rulesets = null) : base(storage, connection) { this.storage = storage; this.beatmaps = beatmaps; this.rulesets = rulesets; if (importHost != null) { ipc = new ScoreIPCChannel(importHost, this); } }
public ScoreStore(Storage storage, Func <OsuDbContext> factory, IIpcHost importHost = null, BeatmapManager beatmaps = null, RulesetStore rulesets = null) : base(factory) { this.storage = storage; this.beatmaps = beatmaps; this.rulesets = rulesets; if (importHost != null) { ipc = new ScoreIPCChannel(importHost, this); } }