From e96871a87aa17aa59779ea1785aed4d4281168a4 Mon Sep 17 00:00:00 2001 From: chfei Date: Mon, 19 Oct 2026 18:05:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95=20?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E8=BF=9E=E6=8E=A5=E5=A4=B1=E8=B4=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources.Designer.cs | 114 --------------- .../LaunchDarkly.EventSource/Resources.cs | 29 ++++ .../LaunchDarkly.EventSource/Resources.resx | 138 ------------------ 3 files changed, 29 insertions(+), 252 deletions(-) delete mode 100644 OrderSupportTicket/LaunchDarkly.EventSource/Resources.Designer.cs create mode 100644 OrderSupportTicket/LaunchDarkly.EventSource/Resources.cs delete mode 100644 OrderSupportTicket/LaunchDarkly.EventSource/Resources.resx diff --git a/OrderSupportTicket/LaunchDarkly.EventSource/Resources.Designer.cs b/OrderSupportTicket/LaunchDarkly.EventSource/Resources.Designer.cs deleted file mode 100644 index 8c722f6..0000000 --- a/OrderSupportTicket/LaunchDarkly.EventSource/Resources.Designer.cs +++ /dev/null @@ -1,114 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace LaunchDarkly.EventSource { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// This class was generated by MSBuild using the GenerateResource task. - /// To add or remove a member, edit your .resx file then rerun MSBuild. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Build.Tasks.StronglyTypedResourceBuilder", "15.1.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LaunchDarkly.EventSource.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Invalid attempt to call Start() while the connection state is {0}. - /// - internal static string ErrorAlreadyStarted { - get { - return ResourceManager.GetString("ErrorAlreadyStarted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to HTTP response had no body. - /// - internal static string ErrorEmptyResponse { - get { - return ResourceManager.GetString("ErrorEmptyResponse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unexpected HTTP status code {0} from server. - /// - internal static string ErrorHttpStatus { - get { - return ResourceManager.GetString("ErrorHttpStatus", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Read timeout elapsed with no new data from server; connection may have been silently dropped. - /// - internal static string ErrorReadTimeout { - get { - return ResourceManager.GetString("ErrorReadTimeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unexpected HTTP content type "{0}"; should be "text/event-stream". - /// - internal static string ErrorWrongContentType { - get { - return ResourceManager.GetString("ErrorWrongContentType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unexpected character encoding {0}; should be UTF-8. - /// - internal static string ErrorWrongEncoding { - get { - return ResourceManager.GetString("ErrorWrongEncoding", resourceCulture); - } - } - } -} diff --git a/OrderSupportTicket/LaunchDarkly.EventSource/Resources.cs b/OrderSupportTicket/LaunchDarkly.EventSource/Resources.cs new file mode 100644 index 0000000..d35a901 --- /dev/null +++ b/OrderSupportTicket/LaunchDarkly.EventSource/Resources.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace LaunchDarkly.EventSource +{ + using System; + + + internal class Resources + { + public static string ErrorAlreadyStarted => "Invalid attempt to call Start() while the connection state is {0}"; + public static string ErrorEmptyResponse => "HTTP response had no body"; + public static string ErrorHttpStatus => "Unexpected HTTP status code {0} from server\t"; + public static string ErrorReadTimeout => "Read timeout elapsed with no new data from server; connection may have been silently dropped"; + public static string ErrorWrongContentType => "Unexpected HTTP content type \"{0}\"; should be \"text/event-stream\""; + public static string ErrorWrongEncoding => "Unexpected character encoding {0}; should be UTF-8"; + + + + + + } +} diff --git a/OrderSupportTicket/LaunchDarkly.EventSource/Resources.resx b/OrderSupportTicket/LaunchDarkly.EventSource/Resources.resx deleted file mode 100644 index 82bf32d..0000000 --- a/OrderSupportTicket/LaunchDarkly.EventSource/Resources.resx +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Read timeout elapsed with no new data from server; connection may have been silently dropped - - - Invalid attempt to call Start() while the connection state is {0} - - - Unexpected HTTP status code {0} from server - - - Unexpected HTTP content type "{0}"; should be "text/event-stream" - - - Unexpected character encoding {0}; should be UTF-8 - - - HTTP response had no body - - \ No newline at end of file