// namespace Microsoft.AspNetCore.StaticFiles { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore.StaticFiles.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// No formatter provided. /// internal static string Args_NoFormatter { get { return GetString("Args_NoFormatter"); } } /// /// No formatter provided. /// internal static string FormatArgs_NoFormatter() { return GetString("Args_NoFormatter"); } /// /// Index of /// internal static string HtmlDir_IndexOf { get { return GetString("HtmlDir_IndexOf"); } } /// /// Index of /// internal static string FormatHtmlDir_IndexOf() { return GetString("HtmlDir_IndexOf"); } /// /// Last Modified /// internal static string HtmlDir_LastModified { get { return GetString("HtmlDir_LastModified"); } } /// /// Last Modified /// internal static string FormatHtmlDir_LastModified() { return GetString("HtmlDir_LastModified"); } /// /// Modified /// internal static string HtmlDir_Modified { get { return GetString("HtmlDir_Modified"); } } /// /// Modified /// internal static string FormatHtmlDir_Modified() { return GetString("HtmlDir_Modified"); } /// /// Name /// internal static string HtmlDir_Name { get { return GetString("HtmlDir_Name"); } } /// /// Name /// internal static string FormatHtmlDir_Name() { return GetString("HtmlDir_Name"); } /// /// Size /// internal static string HtmlDir_Size { get { return GetString("HtmlDir_Size"); } } /// /// Size /// internal static string FormatHtmlDir_Size() { return GetString("HtmlDir_Size"); } /// /// The list of files in the given directory. Column headers are listed in the first row. /// internal static string HtmlDir_TableSummary { get { return GetString("HtmlDir_TableSummary"); } } /// /// The list of files in the given directory. Column headers are listed in the first row. /// internal static string FormatHtmlDir_TableSummary() { return GetString("HtmlDir_TableSummary"); } 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; } } }