Class PersonalizedContentFactory
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factory for personalized content
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Personalization.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(typeof(IPersonalizedContentFactory))]
public class PersonalizedContentFactory : IPersonalizedContentFactory
Constructors
PersonalizedContentFactory(LocalizationService, IPrincipalAccessor)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the PersonalizedContentFactory class.
Declaration
public PersonalizedContentFactory(LocalizationService localizationService, IPrincipalAccessor principalAccessor)
Parameters
Type | Name | Description |
---|---|---|
LocalizationService | localizationService | |
IPrincipalAccessor | principalAccessor |
Properties
ContentHolderClassName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the content holder attribute class.
Declaration
public string ContentHolderClassName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the content holder attribute class. |
IdentifyingClassName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the identifying class attribute.
Declaration
public string IdentifyingClassName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the identifying class attribute. |
Methods
GetInternalFormat(StringFragmentCollection, ISecuredFragmentMarkupGenerator)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the internal format.
Declaration
public string GetInternalFormat(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type | Name | Description |
---|---|---|
StringFragmentCollection | stringFragmentCollection | The string fragments. |
ISecuredFragmentMarkupGenerator | securedFragmentMarkupGenerator | The group resolver. |
Returns
Type | Description |
---|---|
System.String |
GetMarkupForEditor(StringFragmentCollection, ISecuredFragmentMarkupGenerator)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the markup that is presented when editing.
Declaration
public string GetMarkupForEditor(StringFragmentCollection stringFragmentCollection, ISecuredFragmentMarkupGenerator securedFragmentMarkupGenerator)
Parameters
Type | Name | Description |
---|---|---|
StringFragmentCollection | stringFragmentCollection | The string fragments. |
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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the view format.
Declaration
public 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 |