This file contains hidden or 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
| public class Startup{ | |
| //... | |
| public void ConfigureServices(IServiceCollection services) | |
| { | |
| //... | |
| services.AddSingleton<IQuickNavigatorItemProvider, VisitorGroupQuickNavigationProvider>(); | |
This file contains hidden or 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 EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.Personalization.VisitorGroups; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace CodeArt.Optimizely.Extensions | |
| { | |
| public static class UsefulExtensions.cs |
This file contains hidden or 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 EPiServer; | |
| using EPiServer.Approvals; | |
| using EPiServer.Approvals.ContentApprovals; | |
| using EPiServer.Core; | |
| using EPiServer.DataAbstraction; | |
| using EPiServer.Personalization.VisitorGroups; | |
| using EPiServer.Web; | |
| using EPiServer.Web.Mvc.Html; | |
| using Newtonsoft.Json; | |
| using System; |
This file contains hidden or 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 EPiServer.ServiceLocation; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| namespace LocalAlloy.Fluid | |
| { | |
| public static class FluidExtensions | |
| { |
This file contains hidden or 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 EPiServer.Cms.Shell.UI.UIDescriptors; | |
| using EPiServer.Framework; | |
| using EPiServer.Framework.Initialization; | |
| using EPiServer.ServiceLocation; | |
| using EPiServer.ServiceLocation.Compatibility; | |
| using EPiServer.Shell; | |
| using System; | |
| using System.Linq; | |
| namespace ExperimentSite.Widgets |
This file contains hidden or 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 EPiServer.Forms.Core.PostSubmissionActor; | |
| using EPiServer.Forms.Core.PostSubmissionActor.Internal; | |
| using EPiServer.Forms.Helpers.Internal; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| namespace Demo.Web.Business.Forms | |
| { |
This file contains hidden or 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
| public class SiteVirtualRole : VirtualRoleProviderBase | |
| { | |
| public string Site { get; set; } | |
| public override void Initialize(string name, NameValueCollection config) | |
| { | |
| base.Initialize(name, config); | |
| Site = config["site"]; | |
| } | |
| public override bool IsInVirtualRole(IPrincipal principal, object context) | |
| { |
This file contains hidden or 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
| <html> | |
| <head> | |
| <title>@ViewBag.Title</title> | |
| </head> | |
| <body> | |
| @RenderBody() | |
| </body> | |
| </html> |
This file contains hidden or 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 EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.Forms.Core.PostSubmissionActor; | |
| using EPiServer.Forms.Core.PostSubmissionActor.Internal; | |
| using EPiServer.ServiceLocation; | |
| using EPiServer.Web.Routing; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; |
This file contains hidden or 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 EPiServer.Shell.ObjectEditing; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| namespace CodeArt.Episerver.Tools | |
| { | |
| [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] |