public StarshipCommandService(IStarshipCommandTransient transient, IStarshipCommandScoped scoped, IStarshipCommandSingleton singleton, IStarshipCommandSingletonInstance singletonInstance) { LaunchTorpedoesTransient = transient; LaunchTorpedoesScoped = scoped; LaunchTorpedoesSingleton = singleton; LaunchTorpedoesSingletonInstance = singletonInstance; }
public HomeController(StarshipCommandService commandService, IStarshipCommandTransient firePhazorsTransient, IStarshipCommandScoped raiseShieldsScoped, IStarshipCommandSingleton warpSpeedSingleton, IStarshipCommandSingletonInstance teleportSingletonInstance) { _torpedoService = commandService; _firePhazors = firePhazorsTransient; _raiseShields = raiseShieldsScoped; _warpSpeed = warpSpeedSingleton; _teleport = teleportSingletonInstance; }