// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Html;
namespace Microsoft.AspNetCore.Mvc.Localization
{
///
/// An with localized content.
///
public class LocalizedHtmlString : IHtmlContent
{
private readonly object[] _arguments;
///
/// Creates an instance of .
///
/// The name of the string resource.
/// The string resource.
public LocalizedHtmlString(string name, string value)
: this(name, value, isResourceNotFound: false, arguments: Array.Empty