Repository navigation
Expand file tree
/
Copy pathResources.Designer.cs
More file actions
62 lines (53 loc) · 2.28 KB
/
Copy pathResources.Designer.cs
File metadata and controls
62 lines (53 loc) · 2.28 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
// <auto-generated />
namespace Microsoft.AspNetCore.Authentication.Cookies
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNetCore.Authentication.Cookies.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The cookie key and options are larger than ChunksSize, leaving no room for data.
/// </summary>
internal static string Exception_CookieLimitTooSmall
{
get { return GetString("Exception_CookieLimitTooSmall"); }
}
/// <summary>
/// The cookie key and options are larger than ChunksSize, leaving no room for data.
/// </summary>
internal static string FormatException_CookieLimitTooSmall()
{
return GetString("Exception_CookieLimitTooSmall");
}
/// <summary>
/// The chunked cookie is incomplete. Only {0} of the expected {1} chunks were found, totaling {2} characters. A client size limit may have been exceeded.
/// </summary>
internal static string Exception_ImcompleteChunkedCookie
{
get { return GetString("Exception_ImcompleteChunkedCookie"); }
}
/// <summary>
/// The chunked cookie is incomplete. Only {0} of the expected {1} chunks were found, totaling {2} characters. A client size limit may have been exceeded.
/// </summary>
internal static string FormatException_ImcompleteChunkedCookie(object p0, object p1, object p2)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_ImcompleteChunkedCookie"), p0, p1, p2);
}
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;
}
}
}