aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-27 15:14:03 +0800
committercrupest <crupest@outlook.com>2020-10-27 15:14:03 +0800
commitfe1ca658ca5afbe7cd74303bb9b75f1e735c0762 (patch)
tree4c4f297e4141d6723d42c4f3d05c7c43816a9cbf
parentc2871e2c314b840bb938a74081299b34a94d88b7 (diff)
downloadtimeline-fe1ca658ca5afbe7cd74303bb9b75f1e735c0762.tar.gz
timeline-fe1ca658ca5afbe7cd74303bb9b75f1e735c0762.tar.bz2
timeline-fe1ca658ca5afbe7cd74303bb9b75f1e735c0762.zip
refactor(back): Rename code generator.
-rw-r--r--Timeline.ErrorCodes.CodeGenerator/Program.cs (renamed from ErrorResponseCodeGenerator/Program.cs)4
-rw-r--r--Timeline.ErrorCodes.CodeGenerator/Timeline.ErrorCodes.CodeGenerator.csproj (renamed from ErrorResponseCodeGenerator/ErrorResponseCodeGenerator.csproj)0
-rw-r--r--Timeline.ErrorCodes.CodeGenerator/packages.lock.json (renamed from ErrorResponseCodeGenerator/packages.lock.json)0
-rw-r--r--Timeline.sln12
4 files changed, 8 insertions, 8 deletions
diff --git a/ErrorResponseCodeGenerator/Program.cs b/Timeline.ErrorCodes.CodeGenerator/Program.cs
index 5ea8aaca..d182de7c 100644
--- a/ErrorResponseCodeGenerator/Program.cs
+++ b/Timeline.ErrorCodes.CodeGenerator/Program.cs
@@ -2,7 +2,7 @@
using System.Linq;
using System.Reflection;
-namespace ErrorResponseCodeGenerator
+namespace Timeline.ErrorCodes.CodeGenerator
{
class Program
{
@@ -58,7 +58,7 @@ $
Console.WriteLine(code);
- TextCopy.Clipboard.SetText(code);
+ TextCopy.ClipboardService.SetText(code);
var oldColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Code has copied to clipboard!");
diff --git a/ErrorResponseCodeGenerator/ErrorResponseCodeGenerator.csproj b/Timeline.ErrorCodes.CodeGenerator/Timeline.ErrorCodes.CodeGenerator.csproj
index c8eb97f3..c8eb97f3 100644
--- a/ErrorResponseCodeGenerator/ErrorResponseCodeGenerator.csproj
+++ b/Timeline.ErrorCodes.CodeGenerator/Timeline.ErrorCodes.CodeGenerator.csproj
diff --git a/ErrorResponseCodeGenerator/packages.lock.json b/Timeline.ErrorCodes.CodeGenerator/packages.lock.json
index 69cfee1e..69cfee1e 100644
--- a/ErrorResponseCodeGenerator/packages.lock.json
+++ b/Timeline.ErrorCodes.CodeGenerator/packages.lock.json
diff --git a/Timeline.sln b/Timeline.sln
index dfffe385..40a32ee9 100644
--- a/Timeline.sln
+++ b/Timeline.sln
@@ -6,10 +6,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Timeline", "Timeline\Timeli
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Timeline.Tests", "Timeline.Tests\Timeline.Tests.csproj", "{3D76D578-37BC-43C2-97BF-9C6DD3825F10}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ErrorResponseCodeGenerator", "ErrorResponseCodeGenerator\ErrorResponseCodeGenerator.csproj", "{F325F802-75DE-4527-A299-F668281B0E4D}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Timeline.ErrorCodes", "Timeline.ErrorCodes\Timeline.ErrorCodes.csproj", "{1044E3B0-1010-47CA-956E-B6E8FE87055B}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Timeline.ErrorCodes.CodeGenerator", "Timeline.ErrorCodes.CodeGenerator\Timeline.ErrorCodes.CodeGenerator.csproj", "{D0263FD3-DC6A-4676-A746-FDAFCDACC5F2}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -24,14 +24,14 @@ Global
{3D76D578-37BC-43C2-97BF-9C6DD3825F10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D76D578-37BC-43C2-97BF-9C6DD3825F10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D76D578-37BC-43C2-97BF-9C6DD3825F10}.Release|Any CPU.Build.0 = Release|Any CPU
- {F325F802-75DE-4527-A299-F668281B0E4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F325F802-75DE-4527-A299-F668281B0E4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F325F802-75DE-4527-A299-F668281B0E4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F325F802-75DE-4527-A299-F668281B0E4D}.Release|Any CPU.Build.0 = Release|Any CPU
{1044E3B0-1010-47CA-956E-B6E8FE87055B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1044E3B0-1010-47CA-956E-B6E8FE87055B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1044E3B0-1010-47CA-956E-B6E8FE87055B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1044E3B0-1010-47CA-956E-B6E8FE87055B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D0263FD3-DC6A-4676-A746-FDAFCDACC5F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D0263FD3-DC6A-4676-A746-FDAFCDACC5F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D0263FD3-DC6A-4676-A746-FDAFCDACC5F2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D0263FD3-DC6A-4676-A746-FDAFCDACC5F2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE