Interface IStringFragment

States the representation of fragments in content. That is a fragment can have an internal format (db) and an external format.

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IStringFragment : IReferenceMap
Remarks

The implemented class should marked as Serializable or implement ISerializable interface

Properties

InternalFormat

Gets the internal format of the fragment, that is what is stored in db

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

The internal format.

Methods

GetEditFormat()

Gets the format for edit mode

Declaration
string GetEditFormat()
Returns
Type Description
System.String

GetViewFormat()

Gets the format for view mode

Declaration
string GetViewFormat()
Returns
Type Description
System.String

Extension Methods