CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
No files are attached
egarcia74 wrote Oct 27, 2009 at 7:17 AM
public override void Load(CompositionContainer container) { base.Load(container); AddGlobalServices(container.Parent.Services); AddModuleServices(container.Services); ... container.RegisterTypeMapping<IAdministrationController, AdministrationController>(); }
public override void Load(CompositionContainer container) { base.Load(container); AddGlobalServices(container.Parent.Services); AddModuleServices(container.Services); ... // Register the controller on container.Parent to make it available for DI globally. container.Parent.RegisterTypeMapping<IAdministrationController, AdministrationController>(); }
royhiggs wrote Nov 16, 2009 at 6:51 PM
Jensch wrote Jun 23, 2010 at 9:36 AM
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.