Class StructureStoreModelTransform
Inheritance
System.Object
StructureStoreModelTransform
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.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IModelTransform), Lifecycle = ServiceInstanceScope.Singleton)]
public class StructureStoreModelTransform : TransformBase<StructureStoreContentDataModel>, IModelTransform
Constructors
StructureStoreModelTransform(IContentProviderManager, ILanguageBranchRepository, IContentLanguageSettingsHandler, ISiteDefinitionRepository, IEnumerable<IHasChildrenEvaluator>, LanguageResolver, UrlResolver, TemplateResolver)
Declaration
public StructureStoreModelTransform(IContentProviderManager contentProviderManager, ILanguageBranchRepository languageBranchRepository, IContentLanguageSettingsHandler contentLanguageSettingsHandler, ISiteDefinitionRepository siteDefinitionRepository, IEnumerable<IHasChildrenEvaluator> hasChildrenEvaluators, LanguageResolver languageResolver, UrlResolver urlResolver, TemplateResolver templateResolver)
Parameters
Type | Name | Description |
---|---|---|
IContentProviderManager | contentProviderManager | |
ILanguageBranchRepository | languageBranchRepository | |
IContentLanguageSettingsHandler | contentLanguageSettingsHandler | |
ISiteDefinitionRepository | siteDefinitionRepository | |
System.Collections.Generic.IEnumerable<IHasChildrenEvaluator> | hasChildrenEvaluators | |
LanguageResolver | languageResolver | |
UrlResolver | urlResolver | |
TemplateResolver | templateResolver |
Methods
GetName(IContent)
Declaration
protected virtual string GetName(IContent source)
Parameters
Type | Name | Description |
---|---|---|
IContent | source |
Returns
Type | Description |
---|---|
System.String |
IsStartPage(IContent)
Declaration
protected virtual bool IsStartPage(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content |
Returns
Type | Description |
---|---|
System.Boolean |
TransformInstance(IContent, StructureStoreContentDataModel, IModelTransformContext)
Declaration
public override void TransformInstance(IContent source, StructureStoreContentDataModel target, IModelTransformContext context)
Parameters
Type | Name | Description |
---|---|---|
IContent | source | |
StructureStoreContentDataModel | target | |
IModelTransformContext | context |
Overrides
EPiServer.Cms.Shell.UI.Rest.Models.Transforms.TransformBase<EPiServer.Cms.Shell.UI.Rest.Models.StructureStoreContentDataModel>.TransformInstance(EPiServer.Core.IContent, EPiServer.Cms.Shell.UI.Rest.Models.StructureStoreContentDataModel, EPiServer.Cms.Shell.UI.Rest.Models.Transforms.IModelTransformContext)