using Nop.Core.Domain.Attributes; namespace Nop.Services.Attributes; /// /// Represents an attribute formatter /// /// Type of the attribute (see ) /// Type of the attribute value (see ) public partial interface IAttributeFormatter where TAttribute : BaseAttribute where TAttributeValue : BaseAttributeValue { /// /// Formats attributes /// /// Attributes in XML format /// Separator /// A value indicating whether to encode (HTML) values /// /// A task that represents the asynchronous operation /// The task result contains the attributes /// Task FormatAttributesAsync(string attributesXml, string separator = "
", bool htmlEncode = true); }