Repository navigation
Expand file tree
/
Copy pathResources.Designer.cs
More file actions
78 lines (67 loc) · 2.51 KB
/
Copy pathResources.Designer.cs
File metadata and controls
78 lines (67 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// <auto-generated />
namespace Microsoft.AspNetCore.Authorization
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNetCore.Authorization.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string Exception_AuthorizationPolicyEmpty
{
get { return GetString("Exception_AuthorizationPolicyEmpty"); }
}
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string FormatException_AuthorizationPolicyEmpty()
{
return GetString("Exception_AuthorizationPolicyEmpty");
}
/// <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;
}
}
}