Repository navigation
Expand file tree
/
Copy pathResources.Designer.cs
More file actions
100 lines (85 loc) · 4.11 KB
/
Copy pathResources.Designer.cs
File metadata and controls
100 lines (85 loc) · 4.11 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// <auto-generated />
namespace Microsoft.AspNetCore.Authentication
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNetCore.Authentication.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The default data protection provider may only be used when the IApplicationBuilder.Properties contains an appropriate 'host.AppName' key.
/// </summary>
internal static string Exception_DefaultDpapiRequiresAppNameKey
{
get => GetString("Exception_DefaultDpapiRequiresAppNameKey");
}
/// <summary>
/// The default data protection provider may only be used when the IApplicationBuilder.Properties contains an appropriate 'host.AppName' key.
/// </summary>
internal static string FormatException_DefaultDpapiRequiresAppNameKey()
=> GetString("Exception_DefaultDpapiRequiresAppNameKey");
/// <summary>
/// The state passed to UnhookAuthentication may only be the return value from HookAuthentication.
/// </summary>
internal static string Exception_UnhookAuthenticationStateType
{
get => GetString("Exception_UnhookAuthenticationStateType");
}
/// <summary>
/// The state passed to UnhookAuthentication may only be the return value from HookAuthentication.
/// </summary>
internal static string FormatException_UnhookAuthenticationStateType()
=> GetString("Exception_UnhookAuthenticationStateType");
/// <summary>
/// The AuthenticationTokenProvider's required synchronous events have not been registered.
/// </summary>
internal static string Exception_AuthenticationTokenDoesNotProvideSyncMethods
{
get => GetString("Exception_AuthenticationTokenDoesNotProvideSyncMethods");
}
/// <summary>
/// The AuthenticationTokenProvider's required synchronous events have not been registered.
/// </summary>
internal static string FormatException_AuthenticationTokenDoesNotProvideSyncMethods()
=> GetString("Exception_AuthenticationTokenDoesNotProvideSyncMethods");
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get => GetString("Exception_OptionMustBeProvided");
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
=> string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
/// <summary>
/// The SignInScheme for a remote authentication handler cannot be set to itself. If it was not explicitly set, the AuthenticationOptions.DefaultSignInScheme or DefaultScheme is used.
/// </summary>
internal static string Exception_RemoteSignInSchemeCannotBeSelf
{
get => GetString("Exception_RemoteSignInSchemeCannotBeSelf");
}
/// <summary>
/// The SignInScheme for a remote authentication handler cannot be set to itself. If it was not explicitly set, the AuthenticationOptions.DefaultSignInScheme or DefaultScheme is used.
/// </summary>
internal static string FormatException_RemoteSignInSchemeCannotBeSelf()
=> GetString("Exception_RemoteSignInSchemeCannotBeSelf");
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;
}
}
}