63 lines
2.0 KiB
C#
63 lines
2.0 KiB
C#
// <auto-generated />
|
|
namespace Microsoft.AspNet.Authorization
|
|
{
|
|
using System.Globalization;
|
|
using System.Reflection;
|
|
using System.Resources;
|
|
|
|
internal static class Resources
|
|
{
|
|
private static readonly ResourceManager _resourceManager
|
|
= new ResourceManager("Microsoft.AspNet.Authorization.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
|
|
|
/// <summary>
|
|
/// The AuthorizationPolicy named: '{0}' was not found.
|
|
/// </summary>
|
|
internal static string Exception_AuthorizationPolicyNotFound
|
|
{
|
|
get { return GetString("Exception_AuthorizationPolicyNotFound"); }
|
|
}
|
|
|
|
/// <summary>
|
|
/// The AuthorizationPolicy named: '{0}' was not found.
|
|
/// </summary>
|
|
internal static string FormatException_AuthorizationPolicyNotFound(object p0)
|
|
{
|
|
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_AuthorizationPolicyNotFound"), p0);
|
|
}
|
|
|
|
/// <summary>
|
|
/// At least one role must be specified.
|
|
/// </summary>
|
|
internal static string Exception_RoleRequirementEmpty
|
|
{
|
|
get { return GetString("Exception_RoleRequirementEmpty"); }
|
|
}
|
|
|
|
/// <summary>
|
|
/// At least one role must be specified.
|
|
/// </summary>
|
|
internal static string FormatException_RoleRequirementEmpty()
|
|
{
|
|
return GetString("Exception_RoleRequirementEmpty");
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|