using JetBrains.Annotations; using Volo.Abp.GlobalFeatures; namespace Volo.CmsKit.GlobalFeatures; public class GlobalCmsKitFeatures : GlobalModuleFeatures { public const string ModuleName = "CmsKit"; public ReactionsFeature Reactions => GetFeature(); public CommentsFeature Comments => GetFeature(); public MediaFeature Media => GetFeature(); public RatingsFeature Ratings => GetFeature(); public TagsFeature Tags => GetFeature(); public PagesFeature Pages => GetFeature(); public BlogsFeature Blogs => GetFeature(); public CmsUserFeature User => GetFeature(); public MenuFeature Menu => GetFeature(); public GlobalResourcesFeature GlobalResources => GetFeature(); public BlogPostScrollIndexFeature BlogPostScrollIndex => GetFeature(); public MarkedItemsFeature MarkedItemsFeature => GetFeature(); 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)); } }