Class TransformBase<TTarget>
Inheritance
System.Object
TransformBase<TTarget>
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Cms.Shell.UI.Rest.Models.Transforms
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
public abstract class TransformBase<TTarget> : IModelTransform where TTarget : ContentDataStoreModelBase
Type Parameters
Name | Description |
---|---|
TTarget |
Constructors
TransformBase()
Declaration
protected TransformBase()
Properties
Order
Declaration
public virtual TransformOrder Order { get; }
Property Value
Type | Description |
---|---|
TransformOrder |
Methods
CanExecute(Type, DefaultQueryParameters)
Declaration
public virtual bool CanExecute(Type targetType, DefaultQueryParameters queryParameters)
Parameters
Type | Name | Description |
---|---|---|
System.Type | targetType | |
DefaultQueryParameters | queryParameters |
Returns
Type | Description |
---|---|
System.Boolean |
Execute(IEnumerable<IModelTransformContext>)
Declaration
public IEnumerable<IModelTransformContext> Execute(IEnumerable<IModelTransformContext> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IModelTransformContext> | items |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IModelTransformContext> |
ShouldTransformInstance(IModelTransformContext)
Declaration
protected virtual bool ShouldTransformInstance(IModelTransformContext context)
Parameters
Type | Name | Description |
---|---|---|
IModelTransformContext | context |
Returns
Type | Description |
---|---|
System.Boolean |
TransformInstance(IContent, TTarget, IModelTransformContext)
Declaration
public abstract void TransformInstance(IContent source, TTarget target, IModelTransformContext context)
Parameters
Type | Name | Description |
---|---|---|
IContent | source | |
TTarget | target | |
IModelTransformContext | context |