// namespace Microsoft.CodeAnalysis.Razor { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.CodeAnalysis.Razor.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Could not find matching ']' for required attribute '{0}'. /// internal static string TagHelper_CouldNotFindMatchingEndBrace { get => GetString("TagHelper_CouldNotFindMatchingEndBrace"); } /// /// Could not find matching ']' for required attribute '{0}'. /// internal static string FormatTagHelper_CouldNotFindMatchingEndBrace(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_CouldNotFindMatchingEndBrace"), p0); /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must be null unless property type implements '{4}'. /// internal static string TagHelper_InvalidAttributePrefixNotNull { get => GetString("TagHelper_InvalidAttributePrefixNotNull"); } /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must be null unless property type implements '{4}'. /// internal static string FormatTagHelper_InvalidAttributePrefixNotNull(object p0, object p1, object p2, object p3, object p4) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidAttributePrefixNotNull"), p0, p1, p2, p3, p4); /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must be null or empty if property has no public setter. /// internal static string TagHelper_InvalidAttributeNameNotNullOrEmpty { get => GetString("TagHelper_InvalidAttributeNameNotNullOrEmpty"); } /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must be null or empty if property has no public setter. /// internal static string FormatTagHelper_InvalidAttributeNameNotNullOrEmpty(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidAttributeNameNotNullOrEmpty"), p0, p1, p2, p3); /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must not be null if property has no public setter and its type implements '{4}'. /// internal static string TagHelper_InvalidAttributePrefixNull { get => GetString("TagHelper_InvalidAttributePrefixNull"); } /// /// Invalid tag helper bound property '{1}' on tag helper '{0}'. '{2}.{3}' must not be null if property has no public setter and its type implements '{4}'. /// internal static string FormatTagHelper_InvalidAttributePrefixNull(object p0, object p1, object p2, object p3, object p4) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidAttributePrefixNull"), p0, p1, p2, p3, p4); /// /// Invalid required attribute character '{0}' in required attribute '{1}'. Separate required attributes with commas. /// internal static string TagHelper_InvalidRequiredAttributeCharacter { get => GetString("TagHelper_InvalidRequiredAttributeCharacter"); } /// /// Invalid required attribute character '{0}' in required attribute '{1}'. Separate required attributes with commas. /// internal static string FormatTagHelper_InvalidRequiredAttributeCharacter(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidRequiredAttributeCharacter"), p0, p1); /// /// Required attribute '{0}' has mismatched quotes '{1}' around value. /// internal static string TagHelper_InvalidRequiredAttributeMismatchedQuotes { get => GetString("TagHelper_InvalidRequiredAttributeMismatchedQuotes"); } /// /// Required attribute '{0}' has mismatched quotes '{1}' around value. /// internal static string FormatTagHelper_InvalidRequiredAttributeMismatchedQuotes(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidRequiredAttributeMismatchedQuotes"), p0, p1); /// /// Invalid character '{0}' in required attribute '{1}'. Expected supported CSS operator or ']'. /// internal static string TagHelper_InvalidRequiredAttributeOperator { get => GetString("TagHelper_InvalidRequiredAttributeOperator"); } /// /// Invalid character '{0}' in required attribute '{1}'. Expected supported CSS operator or ']'. /// internal static string FormatTagHelper_InvalidRequiredAttributeOperator(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_InvalidRequiredAttributeOperator"), p0, p1); /// /// Required attribute '{0}' has a partial CSS operator. '{1}' must be followed by an equals. /// internal static string TagHelper_PartialRequiredAttributeOperator { get => GetString("TagHelper_PartialRequiredAttributeOperator"); } /// /// Required attribute '{0}' has a partial CSS operator. '{1}' must be followed by an equals. /// internal static string FormatTagHelper_PartialRequiredAttributeOperator(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelper_PartialRequiredAttributeOperator"), p0, p1); private static string GetString(string name, params string[] formatterNames) { var value = _resourceManager.GetString(name); System.Diagnostics.Debug.Assert(value != null); if (formatterNames != null) { for (var i = 0; i < formatterNames.Length; i++) { value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}"); } } return value; } } }