| File: src\f199ec3c41ea8bff\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings.cs | |
| Project: src\aspnetcore\src\Servers\Kestrel\Transport.Sockets\src\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj (Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets) |
// <auto-generated> using System.Reflection; namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets { internal static partial class SocketsStrings { 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(SocketsStrings))); 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>Only ListenType.IPEndPoint is supported by the Socket Transport. https://go.microsoft.com/fwlink/?linkid=874850</summary> internal static string @OnlyIPEndPointsSupported => GetResourceString("OnlyIPEndPointsSupported"); /// <summary>Transport is already bound.</summary> internal static string @TransportAlreadyBound => GetResourceString("TransportAlreadyBound"); } }