/// <summary> /// Constructor dependency injection /// </summary> /// <param name="state"></param> /// <param name="streamLogic"></param> /// <param name="sinkService"></param> /// <param name="hub"></param> /// <param name="configLogic"></param> /// <param name="filterSongLogic"></param> /// <param name="streamRipperProxy"></param> /// <param name="songMetaDataExtract"></param> /// <param name="logger"></param> public StreamRipperManager(StreamRipperState state, IStreamLogic streamLogic, ISinkService sinkService, IHubContext <MessageHub> hub, IConfigLogic configLogic, IFilterSongLogic filterSongLogic, IStreamRipperProxy streamRipperProxy, ISongMetaDataExtract songMetaDataExtract, ILogger <IStreamRipper> logger) { _state = state; _streamLogic = streamLogic; _sinkService = sinkService; _hub = hub; _configLogic = configLogic; _filterSongLogic = filterSongLogic; _songMetaDataExtract = songMetaDataExtract; _streamRipperProxy = streamRipperProxy; _logger = logger; }
public StreamController(UserManager <User> userManager, IStreamLogic streamLogic) { _userManager = userManager; _streamLogic = streamLogic; }