public CategoryTreeComponent(CategorySettings categorySettings) : base("epi-cms/component/MainNavigationComponent")
        {
            LanguagePath = "/getacategories/treecomponent";

            Categories  = new[] { "content" };
            PlugInAreas = new []
            {
                PlugInArea.AssetsDefaultGroup
            };

            SortOrder = 105;
            Settings.Add(new Setting("repositoryKey", CategoryContentRepositoryDescriptor.RepositoryKey));
            Settings.Add(new Setting("categorySettings", categorySettings));
        }
示例#2
0
 public CategoryContentRepositoryDescriptor(CategorySettings categorySettings)
 {
     CategorySettings = categorySettings;
 }