Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.7 KiB

using JetBrains.Annotations;
using Volo.Abp.GlobalFeatures;
namespace Volo.CmsKit.GlobalFeatures;
public class GlobalCmsKitFeatures : GlobalModuleFeatures
{
public const string ModuleName = "CmsKit";
public ReactionsFeature Reactions => GetFeature<ReactionsFeature>();
public CommentsFeature Comments => GetFeature<CommentsFeature>();
public MediaFeature Media => GetFeature<MediaFeature>();
public RatingsFeature Ratings => GetFeature<RatingsFeature>();
public TagsFeature Tags => GetFeature<TagsFeature>();
public PagesFeature Pages => GetFeature<PagesFeature>();
public BlogsFeature Blogs => GetFeature<BlogsFeature>();
public CmsUserFeature User => GetFeature<CmsUserFeature>();
public MenuFeature Menu => GetFeature<MenuFeature>();
public GlobalResourcesFeature GlobalResources => GetFeature<GlobalResourcesFeature>();
public BlogPostScrollIndexFeature BlogPostScrollIndex => GetFeature<BlogPostScrollIndexFeature>();
public MarkedItemsFeature MarkedItemsFeature => GetFeature<MarkedItemsFeature>();
public GlobalCmsKitFeatures([NotNull] GlobalFeatureManager featureManager)
: base(featureManager)
{
AddFeature(new ReactionsFeature(this));
AddFeature(new MediaFeature(this));
AddFeature(new CommentsFeature(this));
AddFeature(new RatingsFeature(this));
AddFeature(new TagsFeature(this));
AddFeature(new PagesFeature(this));
AddFeature(new BlogsFeature(this));
AddFeature(new CmsUserFeature(this));
AddFeature(new MenuFeature(this));
AddFeature(new GlobalResourcesFeature(this));
AddFeature(new BlogPostScrollIndexFeature(this));
AddFeature(new MarkedItemsFeature(this));
}
}