public TournamentStartJob(ILifetimeScope scope) : base(scope) { this.unitOfWork = this.LifetimeScope.Resolve <IUnitOfWork>(); this.tournamentService = this.LifetimeScope.Resolve <ITournamentService>(); this.randomGenProvider = this.LifetimeScope.Resolve <IRandomGenProvider>(); }
public LadderJob(ILifetimeScope scope) : base(scope) { this.unitOfWork = this.LifetimeScope.Resolve <IUnitOfWork>(); this.ladderService = this.LifetimeScope.Resolve <ILadderService>(); this.randomGenProvider = this.LifetimeScope.Resolve <IRandomGenProvider>(); }
public GameService( IUnitOfWork unitOfWork, Domain.IUserProvider userProvider, Domain.Services.IGameService gameService, IMapTemplateProvider mapTemplateProvider, IVisibilityModifierFactory visibilityModifierFactory, IRandomGenProvider randomGenProvider) : base(unitOfWork, userProvider, mapTemplateProvider, visibilityModifierFactory) { this.gameService = gameService; this.randomGenProvider = randomGenProvider; }