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.Linq; | |
using EPiServer.Commerce.Order; | |
using Mediachase.Commerce.Orders; | |
using Mediachase.Commerce.Workflow.Activities; | |
using Mediachase.Commerce.WorkflowCompatibility; | |
public class ExtendedValidateLineItemsActivity : ValidateLineItemsActivity | |
{ |
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 class CommentViewModel | |
{ | |
/// <summary>Gets the body content of the comment.</summary> | |
[Remote("IsSafeTextContent", "ModeratorValidation")] | |
public virtual string Body { get; set; } | |
} |
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
namespace EPiServer.Reference.Commerce.Site.Features.Shared.Services | |
{ | |
using System.Collections.Generic; | |
using System.Linq; | |
using EPiServer.Commerce.Catalog.ContentTypes; | |
using EPiServer.Commerce.Order; | |
using EPiServer.Commerce.Order.Calculator; | |
using EPiServer.Commerce.Order.Internal; |
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 class FindExceptionInterceptor : IInterceptor | |
{ | |
public void Intercept(IInvocation invocation) | |
{ | |
try | |
{ | |
invocation.Proceed(); | |
} | |
catch (ClientException) | |
{ |
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.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using EPiServer.Commerce.Catalog.ContentTypes; | |
using EPiServer.Commerce.Marketing; | |
using EPiServer.Commerce.Marketing.DataAnnotations; | |
using EPiServer.Commerce.Marketing.Promotions; | |
using EPiServer.Core; | |
using EPiServer.DataAnnotations; |
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
private IEnumerable<RewardDescription> ApplyDiscounts(ICart cart) | |
{ | |
IOrderForm orderForm = cart.GetFirstForm(); | |
if (orderForm == null) | |
{ | |
return new List<RewardDescription>(); | |
} | |
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.ComponentModel.DataAnnotations; | |
using Episerver.Playground10.Models.Properties; | |
using EPiServer.Core; | |
using EPiServer.DataAnnotations; | |
using EPiServer.Framework.DataAnnotations; | |
using EPiServer.Web; | |
[ContentType(GUID = "0A89E464-56D4-449F-AEA8-2BF774AB8730")] |
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 EPiServer.Forms.Core.Feed.Internal; | |
using EPiServer.ServiceLocation; | |
/// <summary> | |
/// Class CommerceFeedProvider. | |
/// </summary> | |
/// <seealso cref="EPiServer.Forms.Core.Feed.Internal.IFeedProvider" /> | |
public class CommerceFeedProvider : IFeedProvider |
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
namespace EPiServer.SocialAlloy.Web.Business.FindHelpers | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using EPiServer.Core; | |
using EPiServer.Find; |
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 EPiServer.Core; | |
using EPiServer.Filters; | |
using EPiServer.Framework.Web; | |
using EPiServer.ServiceLocation; | |
using EPiServer.SocialAlloy.Web.Social.Repositories; | |
/// <summary> |