Repository navigation
Expand file tree
/
Copy pathResources.Designer.cs
More file actions
77 lines (66 loc) · 2.9 KB
/
Copy pathResources.Designer.cs
File metadata and controls
77 lines (66 loc) · 2.9 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
// <auto-generated />
namespace Microsoft.AspNetCore.Authentication
{
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 { return 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()
{
return GetString("Exception_DefaultDpapiRequiresAppNameKey");
}
/// <summary>
/// The state passed to UnhookAuthentication may only be the return value from HookAuthentication.
/// </summary>
internal static string Exception_UnhookAuthenticationStateType
{
get { return GetString("Exception_UnhookAuthenticationStateType"); }
}
/// <summary>
/// The state passed to UnhookAuthentication may only be the return value from HookAuthentication.
/// </summary>
internal static string FormatException_UnhookAuthenticationStateType()
{
return GetString("Exception_UnhookAuthenticationStateType");
}
/// <summary>
/// The AuthenticationTokenProvider's required synchronous events have not been registered.
/// </summary>
internal static string Exception_AuthenticationTokenDoesNotProvideSyncMethods
{
get { return GetString("Exception_AuthenticationTokenDoesNotProvideSyncMethods"); }
}
/// <summary>
/// The AuthenticationTokenProvider's required synchronous events have not been registered.
/// </summary>
internal static string FormatException_AuthenticationTokenDoesNotProvideSyncMethods()
{
return GetString("Exception_AuthenticationTokenDoesNotProvideSyncMethods");
}
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;
}
}
}