/// <summary> /// Initializes a new instance of the <see cref="ModCollectionService" /> class. /// </summary> /// <param name="messageBus">The message bus.</param> /// <param name="exportService">The export service.</param> /// <param name="cache">The cache.</param> /// <param name="definitionInfoProviders">The definition information providers.</param> /// <param name="reader">The reader.</param> /// <param name="modWriter">The mod writer.</param> /// <param name="modParser">The mod parser.</param> /// <param name="gameService">The game service.</param> /// <param name="modCollectionExporter">The mod collection exporter.</param> /// <param name="storageProvider">The storage provider.</param> /// <param name="mapper">The mapper.</param> public ModCollectionService(IMessageBus messageBus, IReportExportService exportService, ICache cache, IEnumerable <IDefinitionInfoProvider> definitionInfoProviders, IReader reader, IModWriter modWriter, IModParser modParser, IGameService gameService, IModCollectionExporter modCollectionExporter, IStorageProvider storageProvider, IMapper mapper) : base(cache, definitionInfoProviders, reader, modWriter, modParser, gameService, storageProvider, mapper) { this.messageBus = messageBus; this.exportService = exportService; this.modCollectionExporter = modCollectionExporter; }
/// <summary> /// Initializes a new instance of the <see cref="GameService" /> class. /// </summary> /// <param name="messageBus">The message bus.</param> /// <param name="reportExportService">The report export service.</param> /// <param name="reader">The reader.</param> /// <param name="storageProvider">The storage provider.</param> /// <param name="preferencesService">The preferences service.</param> /// <param name="mapper">The mapper.</param> public GameService(IMessageBus messageBus, IReportExportService reportExportService, IReader reader, IStorageProvider storageProvider, IPreferencesService preferencesService, IMapper mapper) : base(storageProvider, mapper) { this.messageBus = messageBus; this.reportExportService = reportExportService; this.preferencesService = preferencesService; this.reader = reader; pathResolver = new PathResolver(); }
public NotificationsService(UnitOfWork uow, IMapper mapper, IConfiguration configuration, IReportExportService reportExportService) : base(uow, mapper) { _reportExportService = reportExportService; _configuration = configuration; }