public static WorkDataLogProcessor Create(Web3 web3, IStandardDataRegistry dataRegistry, IIpfsImageQueue imageQueue, WorkRepository workRepository, WorkSearchService workSearchService, MusicRecordingService musicRecordingService ) { var services = new List <IStandardDataProcessingService <MusicRecordingDTO> >(); services.Add(workRepository); services.Add(workSearchService); services.Add(new WorkIpfsImagesStandardDataProcessingService(imageQueue)); services.Add(musicRecordingService); return(new WorkDataLogProcessor(web3, dataRegistry, services)); }
public WorkIpfsImagesStandardDataProcessingService(IIpfsImageQueue ipfsImageQueue) { _ipfsImageQueue = ipfsImageQueue; }