// <auto-generated> using System.Reflection; namespace Microsoft.AspNetCore.Server { internal static partial class SharedStrings { private static global::System.Resources.ResourceManager s_resourceManager; internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SharedStrings))); internal static global::System.Globalization.CultureInfo Culture { get; set; } #if !NET20 [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] #endif internal static string GetResourceString(string resourceKey, string defaultValue = null) => ResourceManager.GetString(resourceKey, Culture); private static string GetResourceString(string resourceKey, string[] formatterNames) { var value = GetResourceString(resourceKey); if (formatterNames != null) { for (var i = 0; i < formatterNames.Length; i++) { value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}"); } } return value; } /// <summary>The client sent a {frameType} frame with length different than {expectedLength}.</summary> internal static string @Http2ErrorUnexpectedFrameLength => GetResourceString("Http2ErrorUnexpectedFrameLength"); /// <summary>The client sent a {frameType} frame with length different than {expectedLength}.</summary> internal static string FormatHttp2ErrorUnexpectedFrameLength(object frameType, object expectedLength) => string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); /// <summary>The received frame size of {size} exceeds the limit {limit}.</summary> internal static string @Http2ErrorFrameOverLimit => GetResourceString("Http2ErrorFrameOverLimit"); /// <summary>The received frame size of {size} exceeds the limit {limit}.</summary> internal static string FormatHttp2ErrorFrameOverLimit(object size, object limit) => string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit); } } |