public PixelSplitterRunHandler( LiveSplitController controller, IActionRepositoryProvider actionRepositoryProvider, IActionMatchComparer actionMatcher, IGameImageProvider gameImageProvider, IPixelSplitterSettingsProvider settingsProvider) { this.controller = controller; this.actionRepositoryProvider = actionRepositoryProvider; this.actionMatcher = actionMatcher; this.gameImageProvider = gameImageProvider; this.settingsProvider = settingsProvider; }
public ComponentSettings( LiveSplitState state, IActionRepositoryProvider repoProvider, IGameImageProvider gameImageSourceProvider) { this.state = state; this.repoProvider = repoProvider; this.gameImageSourceProvider = gameImageSourceProvider; InitializeComponent(); this.settings = new PixelSplitterSettings("OBS-Camera", 0.97f, new List <RectangleF>()); this.Load += OnLoad; this.Dock = DockStyle.Fill; }
public UnitOfWork(DbaContext dbContext, IEventRepositoryProvider eventRepositoryProvider, IActionRepositoryProvider actionRepositoryProvider) { _dbContext = dbContext; Events = eventRepositoryProvider.CreateRepository(dbContext); Actions = actionRepositoryProvider.CreateRepository(dbContext); }