This module allows you to quickly track down problematic controllers in your XAF solution. Add this module to your .Module project and start enabling and disabling controllers.
Getting Started
Install the LlamachantControllerManagement.Module from NuGet into your solution
Include the ControllerManagementModule in the RequiredModuleTypes collection of your .Module project
Enable the module by setting the ControllerSettingsWindowController.Enabled to true
Run your application and click the Show Controller Settings action
Enable / Disable any controllers you need and reopen your problematic view
Set the ControllerSettingsWindowController.Enabled static propertyIn order for the controller settings action to appear, you must set the static ControllerSettingsWindowController.Enabled property to True
public sealed partial class TestApplicationModule : ModuleBase {
public TestApplicationModule()
{
InitializeComponent();
this.RequiredModuleTypes.Add(typeof(ControllerManagement.Module.ControllerManagementModule));
ControllerManagement.Module.Controllers.ControllerSettingsWindowController.Enabled = Debugger.IsAttached;
}
}