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.Framework; | |
| using EPiServer.Framework.Initialization; | |
| using EPiServer.ServiceLocation; | |
| using EPiServer.Core; | |
| using EPiServer.Security; | |
| using EPiServer.Approvals; | |
| using EPiServer.Approvals.ContentApprovals; | |
| using Microsoft.AspNet.Identity; | |
| using Microsoft.AspNet.Identity.EntityFramework; | |
| using EPiServer.Cms.UI.AspNetIdentity; |
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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Runtime.Serialization; | |
| using System.Text; | |
| using EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.Forms.Core; | |
| using EPiServer.Forms.Core.Events; |
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.Find.Framework.BestBets; | |
| using EPiServer.Globalization; | |
| using System; | |
| using System.Globalization; | |
| using System.Linq; | |
| namespace BestBetExtension.Business.CustomPhraseCriterion | |
| { | |
| public class LocaleAwarePhraseCriterion : DefaultPhraseCriterion, IPhraseCriterion | |
| { |
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 EPiServer.Framework.Initialization; | |
| using EPiServer.Find.Framework.BestBets; | |
| using EPiServer.Framework; | |
| namespace BestBetExtension.Business.CustomPhraseCriterion | |
| { | |
| [InitializableModule] | |
| [ModuleDependency(typeof(ServiceContainerInitialization))] | |
| [ModuleDependency(typeof(EPiServer.Find.Framework.FrameworkInitializationModule))] |
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 Mediachase.Commerce; | |
| namespace EPiServer.Reference.Commerce.Site.Features.MarketSecurity | |
| { | |
| public interface IMarketAccessRightsHelper | |
| { | |
| bool IsFilteredMarketsRequest(); | |
| bool UserHasAccessToMarket(IMarket market); | |
| } | |
| } |
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.ContentQuery; | |
| using System.Collections.Generic; | |
| using System.Web; | |
| using EPiServer; | |
| using EPiServer.Approvals; | |
| using EPiServer.Core; | |
| using EPiServer.ServiceLocation; | |
| using EPiServer.Shell.Rest; | |
| using EPiServer.Shell.Services.Rest; |
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 System; | |
| using System.Collections.Generic; | |
| using System.Net; | |
| using System.Runtime.Serialization; | |
| using System.Text; | |
| using EPiServer; | |
| using EPiServer.Core; | |
| using EPiServer.Marketing.KPI.Manager.DataClass; | |
| using EPiServer.Marketing.KPI.Results; | |
| using EPiServer.Personalization.VisitorGroups; |
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
| namespace EpiBot.Models | |
| { | |
| public class ApprovalDecision | |
| { | |
| public string Decision; | |
| public int StepId; | |
| public int ActiveStepIndex; | |
| } | |
| } |
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
| namespace ApprovalsApi.Models | |
| { | |
| public class ApprovalDecision | |
| { | |
| public string Decision; | |
| public int StepId; | |
| public int ActiveStepIndex; | |
| } | |
| } |
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
| [InitializableModule] | |
| [ModuleDependency(typeof(EPiServer.Web.InitializationModule))] | |
| public class OverrideLoginImages : IInitializableModule | |
| { | |
| public void Initialize(InitializationEngine context) | |
| { | |
| var host = ServiceLocator.Current.GetInstance<IHostingEnvironment>(); | |
| if (host == null) return; | |
| var mappedProvider = new VirtualPathMappedProvider("OverrideLoginImages", new NameValueCollection()); |