Code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
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.
11 years ago
Everything is done by Inversion of Control and Dependency Injection pattern (IoC/DI). Find more info about it here
11 years ago
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.