/// <summary> /// Initializes this instance. /// </summary> public static void Initialize() { if (SystemManager.GetModule("ModuleBuilder") == null) { return; } MvcWidgetInstaller.Initialize(); DynamicWidgetInitializer.RegisterDynamicTemplatableControl(); DynamicWidgetInitializer.RegisterFields(); string mvcControllerProxySettingsPropertyDescriptorName = string.Format("{0}.{1}", typeof(MvcWidgetProxy).FullName, "Settings"); ObjectFactory.Container.RegisterType <IControlPropertyDescriptor, ControllerSettingsPropertyDescriptor>(mvcControllerProxySettingsPropertyDescriptorName); }