London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class SalesCampaignModelTransform

Inheritance
System.Object
SalesCampaignModelTransform
Namespace: EPiServer.Commerce.Shell.Rest
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0
Syntax
public class SalesCampaignModelTransform : TransformBase<ContentDataStoreModelBase>

Constructors

SalesCampaignModelTransform(IMarketService)

Declaration
public SalesCampaignModelTransform(IMarketService marketService)
Parameters
Type Name Description
IMarketService marketService

Methods

ShouldTransformInstance(IModelTransformContext)

Declaration
protected override bool ShouldTransformInstance(IModelTransformContext context)
Parameters
Type Name Description
EPiServer.Cms.Shell.UI.Rest.Models.Transforms.IModelTransformContext context
Returns
Type Description
System.Boolean

TransformInstance(IContent, ContentDataStoreModelBase, IModelTransformContext)

Declaration
public override void TransformInstance(IContent source, ContentDataStoreModelBase target, IModelTransformContext context)
Parameters
Type Name Description
EPiServer.Core.IContent source
EPiServer.Cms.Shell.UI.Rest.Models.ContentDataStoreModelBase target
EPiServer.Cms.Shell.UI.Rest.Models.Transforms.IModelTransformContext context