public ContentInstaller(EventRaiser eventRaiser, IGameLocker gameLocker, IINstallerSessionFactory sessionFactory, IW6Api api) { _eventRaiser = eventRaiser; _sessionFactory = sessionFactory; _api = api; _gameLocker = gameLocker; _cleaner = new ContentCleaner(); }
public ContentInstaller(Func<IDomainEvent, Task> eventRaiser, IINstallerSessionFactory sessionFactory) { _eventRaiser = eventRaiser; _sessionFactory = sessionFactory; _gameLocker = new GameLocker(eventRaiser); _cleaner = new ContentCleaner(); }