Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IAttributeFormatter.cs

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); }