From 436b9fc40c09f89e90bcf6abf84dec562ad14230 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 25 Apr 2021 21:38:52 +0800 Subject: ... --- .../Resources/Services/Exceptions.Designer.cs | 144 -------------------- .../Timeline/Resources/Services/Exceptions.resx | 147 --------------------- BackEnd/Timeline/Timeline.csproj | 9 -- 3 files changed, 300 deletions(-) delete mode 100644 BackEnd/Timeline/Resources/Services/Exceptions.Designer.cs delete mode 100644 BackEnd/Timeline/Resources/Services/Exceptions.resx (limited to 'BackEnd') diff --git a/BackEnd/Timeline/Resources/Services/Exceptions.Designer.cs b/BackEnd/Timeline/Resources/Services/Exceptions.Designer.cs deleted file mode 100644 index da36a30b..00000000 --- a/BackEnd/Timeline/Resources/Services/Exceptions.Designer.cs +++ /dev/null @@ -1,144 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Exceptions { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Exceptions() { - } - - /// - /// 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("Timeline.Resources.Services.Exceptions", typeof(Exceptions).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 A entity of type "{0}" already exists.. - /// - internal static string EntityAlreadyExistError { - get { - return ResourceManager.GetString("EntityAlreadyExistError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The entity already exists.. - /// - internal static string EntityAlreadyExistErrorDefault { - get { - return ResourceManager.GetString("EntityAlreadyExistErrorDefault", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The required entity of type "{0}" does not exist.. - /// - internal static string EntityNotExistError { - get { - return ResourceManager.GetString("EntityNotExistError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The required entity does not exist.. - /// - internal static string EntityNotExistErrorDefault { - get { - return ResourceManager.GetString("EntityNotExistErrorDefault", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The timeline has no data.. - /// - internal static string TimelineNoDataException { - get { - return ResourceManager.GetString("TimelineNoDataException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline name is "{0}". If this is a personal timeline whose name starts with '@', it means the user does not exist and inner exception should be a UserNotExistException.. - /// - internal static string TimelineNotExistException { - get { - return ResourceManager.GetString("TimelineNotExistException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline id is "{0}". Request timeline post id is "{1}".. - /// - internal static string TimelinePostNotExistException { - get { - return ResourceManager.GetString("TimelinePostNotExistException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request timeline id is "{0}". Request timeline post id is "{1}". The post does not exist because it is deleted.. - /// - internal static string TimelinePostNotExistExceptionDeleted { - get { - return ResourceManager.GetString("TimelinePostNotExistExceptionDeleted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Request username is "{0}". Request id is "{1}".. - /// - internal static string UserNotExistException { - get { - return ResourceManager.GetString("UserNotExistException", resourceCulture); - } - } - } -} diff --git a/BackEnd/Timeline/Resources/Services/Exceptions.resx b/BackEnd/Timeline/Resources/Services/Exceptions.resx deleted file mode 100644 index e2220913..00000000 --- a/BackEnd/Timeline/Resources/Services/Exceptions.resx +++ /dev/null @@ -1,147 +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 - - - The required entity of type "{0}" does not exist. - - - The entity already exists. - - - A entity of type "{0}" already exists. - - - The required entity does not exist. - - - Request timeline name is "{0}". If this is a personal timeline whose name starts with '@', it means the user does not exist and inner exception should be a UserNotExistException. - - - Request timeline id is "{0}". Request timeline post id is "{1}". - - - Request username is "{0}". Request id is "{1}". - - - The timeline has no data. - - - Request timeline id is "{0}". Request timeline post id is "{1}". The post does not exist because it is deleted. - - \ No newline at end of file diff --git a/BackEnd/Timeline/Timeline.csproj b/BackEnd/Timeline/Timeline.csproj index c1786488..47713284 100644 --- a/BackEnd/Timeline/Timeline.csproj +++ b/BackEnd/Timeline/Timeline.csproj @@ -128,11 +128,6 @@ True DataManager.resx - - True - True - Exceptions.resx - True True @@ -246,10 +241,6 @@ ResXFileCodeGenerator DataManager.Designer.cs - - ResXFileCodeGenerator - Exceptions.Designer.cs - ResXFileCodeGenerator TimelineService.Designer.cs -- cgit v1.2.3