This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CMS; | |
using CMS.Base; | |
using CMS.Core; | |
using CMS.DataEngine; | |
using Kentico.Xperience.Lucene.Core.Indexing; | |
[assembly: RegisterModule(typeof(RebuildIndexPostStartModule))] | |
public class RebuildIndexPostStartModule : Module | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CMS.ContentEngine; | |
using CMS.MediaLibrary; | |
using CMS.Membership; | |
using CMS.Websites; | |
using CMS.Websites.Routing; | |
using Kentico.Content.Web.Mvc; | |
using CMS.DataEngine; | |
using Kentico.Content.Web.Mvc.Routing; | |
namespace Project.Helpers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CMS.ContentEngine; | |
using CMS.Helpers; | |
using CMS.Websites; | |
using CMS.Websites.Routing; | |
namespace YourProject.Models; | |
public abstract class ContentRepositoryBase | |
{ | |
protected IWebsiteChannelContext WebsiteChannelContext { get; init; } |