aspnetcore/src/Microsoft.AspNet.Http.Exten.../Properties/Resources.Designer.cs

47 lines
1.4 KiB
C#

// <auto-generated />
namespace Microsoft.AspNet.Http.Extensions
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Http.Extensions.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// This server does not support the sendfile.SendAsync extension.
/// </summary>
internal static string Exception_SendFileNotSupported
{
get { return GetString("Exception_SendFileNotSupported"); }
}
/// <summary>
/// This server does not support the sendfile.SendAsync extension.
/// </summary>
internal static string FormatException_SendFileNotSupported()
{
return GetString("Exception_SendFileNotSupported");
}
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;
}
}
}