public CrapsModule( GamblingService gamblingService, CrapsService crapsService, HelpService helpService) { _gamblingService = gamblingService; _crapsService = crapsService; _helpService = helpService; }
public GamblingController(IDistributedCache distributedCache) { gamblingService = new GamblingService(distributedCache); }
public BlackjackSubmodule(IServiceProvider serviceProvider) : base(serviceProvider) { _gamblingService = serviceProvider.GetRequiredService <GamblingService>(); }