public ModuleInfo()
{
this.OpenTab = 0;
this.SelectedTab = 0;
this.SelectedCssClass = "notSelectedModule";
this.SelectedArea = CMSConfigHelper.PluginAreaPath;
this.SelectedAreaName = String.Empty;
this.SelectedPluginAreaName = String.Empty;
this.SelectedPluginActionName = String.Empty;
this.CurrentAction = String.Empty;
this.CurrentController = String.Empty;
this.CurrentActionFull = String.Empty;
this.Modules = new List<CMSAdminModule>();
this.RouteValues = new RouteValueDictionary();
using (CMSConfigHelper cmsHelper = new CMSConfigHelper()) {
this.Modules = cmsHelper.AdminModules;
}
}