SaaS CMS has officially launched! Learn more now.

Class ModelTransformContext

Inheritance
System.Object
ModelTransformContext
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.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public class ModelTransformContext : IModelTransformContext

Constructors

ModelTransformContext(DefaultQueryParameters)

Declaration
public ModelTransformContext(DefaultQueryParameters queryParameters)
Parameters
Type Name Description
DefaultQueryParameters queryParameters

Properties

ContextValues

Declaration
protected IDictionary<string, object> ContextValues { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

QueryParameters

Declaration
public DefaultQueryParameters QueryParameters { get; protected set; }
Property Value
Type Description
DefaultQueryParameters

Source

Declaration
public IContent Source { get; set; }
Property Value
Type Description
IContent

Target

Declaration
public ContentDataStoreModelBase Target { get; set; }
Property Value
Type Description
ContentDataStoreModelBase

Methods

GetContextValue<T>(String)

Declaration
public T GetContextValue<T>(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
T
Type Parameters
Name Description
T

SetContextValue(String, Object)

Declaration
public void SetContextValue(string key, object value)
Parameters
Type Name Description
System.String key
System.Object value

Implements

Extension Methods