aspnetcore/src/Microsoft.AspNet.Mvc.Core/Properties/Resources.Designer.cs

79 lines
3.1 KiB
C#

// <auto-generated />
namespace Microsoft.AspNet.Mvc.Core
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Mvc.Core.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The method '{0}' on type '{1}' returned an instance of '{2}'. Make sure to call Unwrap on the returned value to avoid unobserved faulted Task.
/// </summary>
internal static string ActionExecutor_WrappedTaskInstance
{
get { return GetString("ActionExecutor_WrappedTaskInstance"); }
}
/// <summary>
/// The method '{0}' on type '{1}' returned an instance of '{2}'. Make sure to call Unwrap on the returned value to avoid unobserved faulted Task.
/// </summary>
internal static string FormatActionExecutor_WrappedTaskInstance(object p0, object p1, object p2)
{
return string.Format(CultureInfo.CurrentCulture, GetString("ActionExecutor_WrappedTaskInstance"), p0, p1, p2);
}
/// <summary>
/// The method '{0}' on type '{1}' returned a Task instance even though it is not an asynchronous method.
/// </summary>
internal static string ActionExecutor_UnexpectedTaskInstance
{
get { return GetString("ActionExecutor_UnexpectedTaskInstance"); }
}
/// <summary>
/// The method '{0}' on type '{1}' returned a Task instance even though it is not an asynchronous method.
/// </summary>
internal static string FormatActionExecutor_UnexpectedTaskInstance(object p0, object p1)
{
return string.Format(CultureInfo.CurrentCulture, GetString("ActionExecutor_UnexpectedTaskInstance"), p0, p1);
}
/// <summary>
/// The class ReflectedActionFilterEndPoint only supports ReflectedActionDescriptors.
/// </summary>
internal static string ReflectedActionFilterEndPoint_UnexpectedActionDescriptor
{
get { return GetString("ReflectedActionFilterEndPoint_UnexpectedActionDescriptor"); }
}
/// <summary>
/// The class ReflectedActionFilterEndPoint only supports ReflectedActionDescriptors.
/// </summary>
internal static string FormatReflectedActionFilterEndPoint_UnexpectedActionDescriptor()
{
return GetString("ReflectedActionFilterEndPoint_UnexpectedActionDescriptor");
}
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;
}
}
}