/// <summary> /// Конструктор. /// </summary> /// <param name="logger">Регистратор.</param> /// <param name="job">Задание.</param> public AppPartModProductBaseJobListGetClient( ILogger <AppPartModProductBaseJobListGetClient> logger, ModProductBaseJobListGetService job ) : base(logger) { Job = job; }
/// <summary> /// Конструктор. /// </summary> /// <param name="coreBaseResourceErrors">Ядро. Основа. Ресурсы. Ошибки.</param> /// <param name="dataBaseSettings">Данные. Основа. Настройки.</param> /// <param name="resourceSuccesses">Ресурсы. Успехи.</param> /// <param name="resourceErrors">Ресурсы. Ошибки.</param> /// <param name="service">Сервис.</param> public ModProductBaseJobs( CoreBaseResourceErrors coreBaseResourceErrors, DataBaseSettings dataBaseSettings, ModProductBaseResourceSuccesses resourceSuccesses, ModProductBaseResourceErrors resourceErrors, ModProductBaseService service ) { JobItemDelete = new ModProductBaseJobItemDeleteService( service.DeleteItem, coreBaseResourceErrors, resourceSuccesses ); JobItemGet = new ModProductBaseJobItemGetService( service.GetItem, coreBaseResourceErrors ); JobItemInsert = new ModProductBaseJobItemInsertService( service.SaveItem, coreBaseResourceErrors, resourceSuccesses, resourceErrors, dataBaseSettings ); JobItemUpdate = new ModProductBaseJobItemUpdateService( service.SaveItem, coreBaseResourceErrors, resourceSuccesses, resourceErrors, dataBaseSettings ); JobListGet = new ModProductBaseJobListGetService( service.GetList, coreBaseResourceErrors ); JobOptionsDummyManyToManyGet = new ModProductBaseJobOptionProductFeatureGetListService( service.GetOptionsProductFeature, coreBaseResourceErrors ); JobOptionsDummyOneToManyGet = new ModProductBaseJobOptionProductCategoryListGetService( service.GetOptionsProductCategory, coreBaseResourceErrors ); }