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 System.Collections.Generic; | |
using System.Linq; | |
using System.Web.Security; | |
using EPiServer.ContentCollaboration.Notification; | |
using EPiServer.Notification; | |
using EPiServer.PlugIn; | |
using EPiServer.Scheduler; | |
using EPiServer.ServiceLocation; |
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
public void SendCartToQueue() | |
{ | |
if (this._iMessagingService.MessagingEnabled && this._iMessagingService.SendMessage(this.CartHelper.Cart)) | |
{ | |
return; | |
} | |
this.CartHelper.Cart.SaveAsPurchaseOrder(); | |
} |
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 System; | |
using System.Web.Mvc; | |
using EPiServer.Shell.ObjectEditing; | |
using Mediachase.BusinessFoundation.Data.Meta.Management; | |
/// <summary> | |
/// The meta enum selection attribute. | |
/// </summary> |
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
protected void Session_Start(object sender, EventArgs e) | |
{ | |
this.UpdateViewedPagesSession(); | |
this.UpdateViewedCategoriesSession(); | |
} | |
protected void UpdateViewedPagesSession() | |
{ | |
HttpCookie myCookie = null; |
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
[Facet(1, FacetType.TermsFacetFor)] | |
public virtual string TermsFacetExample { get; set; } | |
IClient searchManager = Client.CreateFromConfig(); | |
ITypeSearch<StandardPage> queryTest = searchManager.Search<StandardPage>().For("test"); | |
queryTest = queryTest.AddFacets(); | |
IContentResult<StandardPage> results = queryTest.GetContentResult(); | |
NewerOlder