Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PersonalizedContentFactory

Factory for personalized content

Inheritance
System.Object
PersonalizedContentFactory
Implements
EPiServer.Personalization.IPersonalizedContentFactory
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.TinyMce.Core
Assembly: EPiServer.Cms.TinyMce.dll
Version: 2.13.4
Syntax
public class PersonalizedContentFactory : IPersonalizedContentFactory

Constructors

PersonalizedContentFactory(LocalizationService, IPersonalizedContentFactory)

Initializes a new instance of the PersonalizedContentFactory class.

Declaration
public PersonalizedContentFactory(LocalizationService localizationService, IPersonalizedContentFactory defaultPersonalizedContentFactory)
Parameters
Type Name Description
EPiServer.Framework.Localization.LocalizationService localizationService

Localization service

EPiServer.Personalization.IPersonalizedContentFactory defaultPersonalizedContentFactory

Default factory implementation

PersonalizedContentFactory(IPersonalizedContentFactory)

Initializes a new instance of the PersonalizedContentFactory class.

Declaration
public PersonalizedContentFactory(IPersonalizedContentFactory defaultPersonalizedContentFactory)
Parameters
Type Name Description
EPiServer.Personalization.IPersonalizedContentFactory defaultPersonalizedContentFactory

Default factory implementation

Properties

ContentHolderClassName

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

IdentifyingClassName

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

Methods

GetInternalFormat(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Declaration
public string GetInternalFormat(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
EPiServer.Core.Html.StringParsing.StringFragmentCollection stringFragmentCollection
EPiServer.Core.Html.StringParsing.ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator
Returns
Type Description
System.String

GetMarkupForEditor(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Declaration
public string GetMarkupForEditor(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
EPiServer.Core.Html.StringParsing.StringFragmentCollection stringFragmentCollection
EPiServer.Core.Html.StringParsing.ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator
Returns
Type Description
System.String

GetViewFormat(StringFragmentCollection, ISecuredFragmentMarkupGenerator)

Declaration
public string GetViewFormat(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type Name Description
EPiServer.Core.Html.StringParsing.StringFragmentCollection stringFragmentCollection
EPiServer.Core.Html.StringParsing.ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator
Returns
Type Description
System.String

Implements

EPiServer.Personalization.IPersonalizedContentFactory