ildar-shaymukhametov_grandnode-refactorings/Grand.Services/Common/IAddressAttributeFormatter.cs
using System.Threading.Tasks;

namespace Grand.Services.Common
{
    /// <summary>
    /// Checkout attribute helper
    /// </summary>
    public partial interface IAddressAttributeFormatter
    {
        /// <summary>
        /// Formats attributes
        /// </summary>
        /// <param name="attributesXml">Attributes in XML format</param>
        /// <param name="serapator">Serapator</param>
        /// <param name="htmlEncode">A value indicating whether to encode (HTML) values</param>
        /// <returns>Attributes</returns>
        Task<string> FormatAttributes(string attributesXml,
            string serapator = "<br />", 
            bool htmlEncode = true);
    }
}
