Code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 11 años
Does anyone know how or what calls the following constructor in the admin controllers:

public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
            IManufacturerService manufacturerService, IProductService productService,
            IPictureService pictureService, ILanguageService languageService,
            ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IDiscountService discountService, IPermissionService permissionService,
            IExportManager exportManager, IWorkContext workContext,
            ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
            CatalogSettings catalogSettings)

I can't seem to find any point of entry that calls this constructor when the controller is instantiated. I'm kinda new to MVC.

Thanks.
Hace 11 años
Everything is done by Inversion of Control and Dependency Injection pattern (IoC/DI). Find more info about it here
Hace 11 años
a.m. wrote:
Everything is done by Inversion of Control and Dependency Injection pattern (IoC/DI). Find more info about it here


Thank you Andrei.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.