/// <summary> /// Конструктор. /// </summary> /// <param name="appJobItemDelete">Задание на удаление элемента.</param> /// <param name="appJobItemGet">Задание на получение элемента.</param> /// <param name="appJobItemInsert">Задание на вставку элемента.</param> /// <param name="appJobItemUpdate">Задание на обновление элемента.</param> /// <param name="appJobListGet">Задание на получение списка.</param> /// <param name="appJobOptionDummyManyToManyListGet"> /// Задание на получение вариантов выбора сущности "DummyManyToMany". /// </param> /// <param name="appJobOptionDummyOneToManyListGet"> /// Задание на получение вариантов выбора сущности "DummyOneToMany". /// </param> /// <param name="extLogger">Регистратор.</param> public ModDummyMainWebApiModel( ModDummyMainCachingJobItemDeleteService appJobItemDelete, ModDummyMainCachingJobItemGetService appJobItemGet, ModDummyMainCachingJobItemInsertService appJobItemInsert, ModDummyMainCachingJobItemUpdateService appJobItemUpdate, ModDummyMainCachingJobListGetService appJobListGet, ModDummyMainCachingJobOptionsDummyManyToManyGetService appJobOptionDummyManyToManyListGet, ModDummyMainCachingJobOptionsDummyOneToManyGetService appJobOptionDummyOneToManyListGet, ILogger <ModDummyMainWebApiController> extLogger ) : base(extLogger) { AppJobItemDelete = appJobItemDelete; AppJobItemGet = appJobItemGet; AppJobItemInsert = appJobItemInsert; AppJobItemUpdate = appJobItemUpdate; AppJobListGet = appJobListGet; AppJobOptionDummyManyToManyListGet = appJobOptionDummyManyToManyListGet; AppJobOptionDummyOneToManyListGet = appJobOptionDummyOneToManyListGet; }
/// <summary> /// Конструктор. /// </summary> /// <param name="coreBaseResourceErrors">Ядро. Основа. Ресурсы. Ошибки.</param> /// <param name="cache">Кэш.</param> /// <param name="cacheSettings">Настройки кэша.</param> /// <param name="coreCachingResourceErrors">Ядро. Кэширование. Ресурсы. Ошибки.</param> /// <param name="dataBaseSettings">Данные. Основа. Настройки.</param> /// <param name="resourceSuccesses">Ресурсы. Успехи.</param> /// <param name="resourceErrors">Ресурсы. Ошибки.</param> /// <param name="service">Сервис.</param> public ModDummyMainCachingJobs( CoreBaseResourceErrors coreBaseResourceErrors, ICoreCachingCache cache, ICoreCachingCommonClientConfigSettings cacheSettings, CoreCachingResourceErrors coreCachingResourceErrors, DataBaseSettings dataBaseSettings, ModDummyMainBaseResourceSuccesses resourceSuccesses, ModDummyMainBaseResourceErrors resourceErrors, ModDummyMainBaseService service ) { JobItemDelete = new ModDummyMainCachingJobItemDeleteService( service.DeleteItem, coreBaseResourceErrors, resourceSuccesses, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobItemGet = new ModDummyMainCachingJobItemGetService( service.GetItem, coreBaseResourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobItemInsert = new ModDummyMainCachingJobItemInsertService( service.SaveItem, coreBaseResourceErrors, resourceSuccesses, resourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobItemUpdate = new ModDummyMainCachingJobItemUpdateService( service.SaveItem, coreBaseResourceErrors, resourceSuccesses, resourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobListGet = new ModDummyMainCachingJobListGetService( service.GetList, coreBaseResourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobOptionsDummyManyToManyGet = new ModDummyMainCachingJobOptionsDummyManyToManyGetService( service.GetOptionsDummyManyToMany, coreBaseResourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); JobOptionsDummyOneToManyGet = new ModDummyMainCachingJobOptionsDummyOneToManyGetService( service.GetOptionsDummyOneToMany, coreBaseResourceErrors, dataBaseSettings, cacheSettings, cache, coreCachingResourceErrors ); }