Class PromotionDataModelTransform
Inheritance
System.Object
PromotionDataModelTransform
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
public class PromotionDataModelTransform : TransformBase<ContentDataStoreModelBase>
Constructors
PromotionDataModelTransform(IContentLoader, IMarketService)
Declaration
public PromotionDataModelTransform(IContentLoader contentLoader, IMarketService marketService)
Parameters
Type |
Name |
Description |
EPiServer.IContentLoader |
contentLoader |
|
IMarketService |
marketService |
|
Properties
Declaration
public override TransformOrder Order { get; }
Property Value
Type |
Description |
EPiServer.Cms.Shell.UI.Rest.Models.Transforms.TransformOrder |
|
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 |
|