From 5b33a392dd2ff159593067c6faf4b0da547afea3 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Sun, 28 Aug 2022 17:10:50 -0500 Subject: [PATCH] Hopefully I fixed ASPNetStileEndpoint --- Tesses.Http/ASPNetStyleEndpoint.cs | 6 ++++-- Tesses.Http/Tesses.Http.csproj | 6 +++--- .../Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs | 6 +++--- .../Tesses.Http.AssemblyInfoInputs.cache | 2 +- .../Tesses.Http.csproj.FileListAbsolute.txt | 10 ++++++++++ Tesses.Http/obj/Tesses.Http.csproj.nuget.dgspec.json | 2 +- Tesses.Http/obj/project.assets.json | 2 +- Tesses.Http/obj/project.nuget.cache | 2 +- 8 files changed, 24 insertions(+), 12 deletions(-) diff --git a/Tesses.Http/ASPNetStyleEndpoint.cs b/Tesses.Http/ASPNetStyleEndpoint.cs index 9747d74..ebc27a2 100644 --- a/Tesses.Http/ASPNetStyleEndpoint.cs +++ b/Tesses.Http/ASPNetStyleEndpoint.cs @@ -118,9 +118,11 @@ namespace Tesses.Http { var t0=t.MakeArrayType(); object[] items2=new object[items.Count]; + int i=0; foreach(var item in items) { - ___to_type(t0,item); + items2[i]=___to_type(t0,item); + i++; } o=items; }else{ @@ -155,7 +157,7 @@ namespace Tesses.Http } - MethodInfo method = typeof(JsonConvert).GetMethod(nameof(JsonConvert.SerializeObject)); + MethodInfo method = typeof(JsonConvert).GetMethod(nameof(JsonConvert.DeserializeObject)); MethodInfo generic = method.MakeGenericMethod(t); return generic.Invoke(null,new object[]{value}); }catch(Exception ex) diff --git a/Tesses.Http/Tesses.Http.csproj b/Tesses.Http/Tesses.Http.csproj index 8bd877f..3d86e26 100644 --- a/Tesses.Http/Tesses.Http.csproj +++ b/Tesses.Http/Tesses.Http.csproj @@ -6,9 +6,9 @@ Tesses.Http Mike Nolan Tesses - 1.0.3 - 1.0.3 - 1.0.3 + 1.0.4 + 1.0.4 + 1.0.4 A Web Server/Client HTTP, WebServer, WebClient https://gitlab.tesses.cf/tesses50/tesses.http diff --git a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs index 602cbf8..84c99b4 100644 --- a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs +++ b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs @@ -13,11 +13,11 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyDescriptionAttribute("A Web Server/Client")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.4")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.4")] [assembly: System.Reflection.AssemblyProductAttribute("Tesses.Http")] [assembly: System.Reflection.AssemblyTitleAttribute("Tesses.Http")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.4")] [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://gitlab.tesses.cf/tesses50/tesses.http")] // Generated by the MSBuild WriteCodeFragment class. diff --git a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfoInputs.cache b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfoInputs.cache index 7474cf6..6e0786b 100644 --- a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfoInputs.cache +++ b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfoInputs.cache @@ -1 +1 @@ -474729b5e555789d618d8c5cc2e1056d7996834a +076d106603f408e4613a6142e111320b1ab1515f diff --git a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.FileListAbsolute.txt b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.FileListAbsolute.txt index e4c4429..8bb2386 100644 --- a/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.FileListAbsolute.txt +++ b/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.FileListAbsolute.txt @@ -8,3 +8,13 @@ /home/mike/Documents/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.CoreCompileInputs.cache /home/mike/Documents/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.dll /home/mike/Documents/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.pdb +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/bin/Debug/netstandard2.0/Tesses.Http.deps.json +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/bin/Debug/netstandard2.0/Tesses.Http.dll +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/bin/Debug/netstandard2.0/Tesses.Http.pdb +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.AssemblyReference.cache +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.GeneratedMSBuildEditorConfig.editorconfig +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfoInputs.cache +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.AssemblyInfo.cs +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.csproj.CoreCompileInputs.cache +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.dll +/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.pdb diff --git a/Tesses.Http/obj/Tesses.Http.csproj.nuget.dgspec.json b/Tesses.Http/obj/Tesses.Http.csproj.nuget.dgspec.json index 96e76a0..5d23a64 100644 --- a/Tesses.Http/obj/Tesses.Http.csproj.nuget.dgspec.json +++ b/Tesses.Http/obj/Tesses.Http.csproj.nuget.dgspec.json @@ -5,7 +5,7 @@ }, "projects": { "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj": { - "version": "1.0.2", + "version": "1.0.4", "restore": { "projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "projectName": "Tesses.Http", diff --git a/Tesses.Http/obj/project.assets.json b/Tesses.Http/obj/project.assets.json index cab6fb6..5c8e385 100644 --- a/Tesses.Http/obj/project.assets.json +++ b/Tesses.Http/obj/project.assets.json @@ -248,7 +248,7 @@ "/home/mike/.nuget/packages/": {} }, "project": { - "version": "1.0.2", + "version": "1.0.4", "restore": { "projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "projectName": "Tesses.Http", diff --git a/Tesses.Http/obj/project.nuget.cache b/Tesses.Http/obj/project.nuget.cache index e3f0e2d..dd0350f 100644 --- a/Tesses.Http/obj/project.nuget.cache +++ b/Tesses.Http/obj/project.nuget.cache @@ -1,6 +1,6 @@ { "version": 2, - "dgSpecHash": "jgOcTlVQmFmvs2mmgWm3HJVveLZd8Ekz7YqnTTQTGDNOHBW69F+wjGaPmWLOmiOu0mA11Gnwdloq8h+uF0Vyvw==", + "dgSpecHash": "22Nh52qPNQREq+Javh335tUhQ+UTO2apyzTp7wK1eYaH3fe8OVZ3M0uexF8/T/zzRQ2dHqZNNWiySu9ZlPTjiQ==", "success": true, "projectFilePath": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "expectedPackageFiles": [