Try our conversational search powered by Generative AI!

Interface IPersonalizedContentFactory

Interface for personlalized content factory

Namespace: EPiServer.Personalization
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IPersonalizedContentFactory

Properties

ContentHolderClassName

Gets the name of the content holder attribute class.

Declaration
string ContentHolderClassName { get; }
Property Value
Type Description
System.String

The name of the content holder attribute class.

IdentifyingClassName

Gets the name of the identifying class attribute.

Declaration
string IdentifyingClassName { get; }
Property Value
Type Description
System.String

The name of the identifying class attribute.

Methods

GetInternalFormat(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Gets the internal format.

Declaration
string GetInternalFormat(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
StringFragmentCollection stringFragmentCollection

The string fragment container.

ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator

The group resolver.

Returns
Type Description
System.String

GetMarkupForEditor(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Gets the markup that is presented when editing.

Declaration
string GetMarkupForEditor(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
StringFragmentCollection stringFragmentCollection

The string fragment container.

ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator

The group resolver.

Returns
Type Description
System.String

Markup that is loaded when loading the personalized content in edit mode.

GetViewFormat(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Gets the view format.

Declaration
string GetViewFormat(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
StringFragmentCollection stringFragmentCollection

The string fragments.

ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator

The group resolver.

Returns
Type Description
System.String

Extension Methods