// namespace Microsoft.AspNetCore.Rewrite { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore.Rewrite.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Could not parse the UrlRewrite file. Message: '{0}'. Line number '{1}': '{2}'. /// internal static string Error_UrlRewriteParseError { get { return GetString("Error_UrlRewriteParseError"); } } /// /// Could not parse the UrlRewrite file. Message: '{0}'. Line number '{1}': '{2}'. /// internal static string FormatError_UrlRewriteParseError(object p0, object p1, object p2) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_UrlRewriteParseError"), p0, p1, p2); } /// /// Index out of range for backreference: '{0}' at string index: '{1}' /// internal static string Error_InputParserIndexOutOfRange { get { return GetString("Error_InputParserIndexOutOfRange"); } } /// /// Index out of range for backreference: '{0}' at string index: '{1}' /// internal static string FormatError_InputParserIndexOutOfRange(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_InputParserIndexOutOfRange"), p0, p1); } /// /// Cannot parse '{0}' to integer at string index: '{1}' /// internal static string Error_InputParserInvalidInteger { get { return GetString("Error_InputParserInvalidInteger"); } } /// /// Cannot parse '{0}' to integer at string index: '{1}' /// internal static string FormatError_InputParserInvalidInteger(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_InputParserInvalidInteger"), p0, p1); } /// /// Missing close brace for parameter at string index: '{0}' /// internal static string Error_InputParserMissingCloseBrace { get { return GetString("Error_InputParserMissingCloseBrace"); } } /// /// Missing close brace for parameter at string index: '{0}' /// internal static string FormatError_InputParserMissingCloseBrace(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_InputParserMissingCloseBrace"), p0); } /// /// Missing backreference for parameter at string index: '{0}' /// internal static string Error_InputParserNoBackreference { get { return GetString("Error_InputParserNoBackreference"); } } /// /// Missing backreference for parameter at string index: '{0}' /// internal static string FormatError_InputParserNoBackreference(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_InputParserNoBackreference"), p0); } /// /// Unrecognized parameter type: '{0}', terminated at string index: '{1}' /// internal static string Error_InputParserUnrecognizedParameter { get { return GetString("Error_InputParserUnrecognizedParameter"); } } /// /// Unrecognized parameter type: '{0}', terminated at string index: '{1}' /// internal static string FormatError_InputParserUnrecognizedParameter(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_InputParserUnrecognizedParameter"), p0, p1); } /// /// Could not parse the mod_rewrite file. Message: '{0}'. Line number '{1}'. /// internal static string Error_ModRewriteParseError { get { return GetString("Error_ModRewriteParseError"); } } /// /// Could not parse the mod_rewrite file. Message: '{0}'. Line number '{1}'. /// internal static string FormatError_ModRewriteParseError(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_ModRewriteParseError"), p0, p1); } /// /// Could not parse the mod_rewrite file. Line number '{0}'. /// internal static string Error_ModRewriteGeneralParseError { get { return GetString("Error_ModRewriteGeneralParseError"); } } /// /// Could not parse the mod_rewrite file. Line number '{0}'. /// internal static string FormatError_ModRewriteGeneralParseError(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Error_ModRewriteGeneralParseError"), p0); } /// /// Syntax error for integers in comparison. /// internal static string Error_IntegerMatch_FormatExceptionMessage { get { return GetString("Error_IntegerMatch_FormatExceptionMessage"); } } /// /// Syntax error for integers in comparison. /// internal static string FormatError_IntegerMatch_FormatExceptionMessage() { return GetString("Error_IntegerMatch_FormatExceptionMessage"); } 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; } } }