Hopefully I fixed ASPNetStileEndpoint

This commit is contained in:
Michael Nolan 2022-08-28 17:10:50 -05:00
parent fcd4a9ee46
commit 5b33a392dd
8 changed files with 24 additions and 12 deletions

View File

@ -118,9 +118,11 @@ namespace Tesses.Http
{ {
var t0=t.MakeArrayType(); var t0=t.MakeArrayType();
object[] items2=new object[items.Count]; object[] items2=new object[items.Count];
int i=0;
foreach(var item in items) foreach(var item in items)
{ {
___to_type(t0,item); items2[i]=___to_type(t0,item);
i++;
} }
o=items; o=items;
}else{ }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); MethodInfo generic = method.MakeGenericMethod(t);
return generic.Invoke(null,new object[]{value}); return generic.Invoke(null,new object[]{value});
}catch(Exception ex) }catch(Exception ex)

View File

@ -6,9 +6,9 @@
<PackageId>Tesses.Http</PackageId> <PackageId>Tesses.Http</PackageId>
<Author>Mike Nolan</Author> <Author>Mike Nolan</Author>
<Company>Tesses</Company> <Company>Tesses</Company>
<Version>1.0.3</Version> <Version>1.0.4</Version>
<AssemblyVersion>1.0.3</AssemblyVersion> <AssemblyVersion>1.0.4</AssemblyVersion>
<FileVersion>1.0.3</FileVersion> <FileVersion>1.0.4</FileVersion>
<Description>A Web Server/Client</Description> <Description>A Web Server/Client</Description>
<PackageTags>HTTP, WebServer, WebClient</PackageTags> <PackageTags>HTTP, WebServer, WebClient</PackageTags>
<RepositoryUrl>https://gitlab.tesses.cf/tesses50/tesses.http</RepositoryUrl> <RepositoryUrl>https://gitlab.tesses.cf/tesses50/tesses.http</RepositoryUrl>

View File

@ -13,11 +13,11 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")] [assembly: System.Reflection.AssemblyCompanyAttribute("Tesses")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("A Web Server/Client")] [assembly: System.Reflection.AssemblyDescriptionAttribute("A Web Server/Client")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.4")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.4")]
[assembly: System.Reflection.AssemblyProductAttribute("Tesses.Http")] [assembly: System.Reflection.AssemblyProductAttribute("Tesses.Http")]
[assembly: System.Reflection.AssemblyTitleAttribute("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")] [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://gitlab.tesses.cf/tesses50/tesses.http")]
// Generated by the MSBuild WriteCodeFragment class. // Generated by the MSBuild WriteCodeFragment class.

View File

@ -1 +1 @@
474729b5e555789d618d8c5cc2e1056d7996834a 076d106603f408e4613a6142e111320b1ab1515f

View File

@ -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.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.dll
/home/mike/Documents/Tesses.Http/Tesses.Http/obj/Debug/netstandard2.0/Tesses.Http.pdb /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

View File

@ -5,7 +5,7 @@
}, },
"projects": { "projects": {
"/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj": { "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj": {
"version": "1.0.2", "version": "1.0.4",
"restore": { "restore": {
"projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj",
"projectName": "Tesses.Http", "projectName": "Tesses.Http",

View File

@ -248,7 +248,7 @@
"/home/mike/.nuget/packages/": {} "/home/mike/.nuget/packages/": {}
}, },
"project": { "project": {
"version": "1.0.2", "version": "1.0.4",
"restore": { "restore": {
"projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "projectUniqueName": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj",
"projectName": "Tesses.Http", "projectName": "Tesses.Http",

View File

@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "jgOcTlVQmFmvs2mmgWm3HJVveLZd8Ekz7YqnTTQTGDNOHBW69F+wjGaPmWLOmiOu0mA11Gnwdloq8h+uF0Vyvw==", "dgSpecHash": "22Nh52qPNQREq+Javh335tUhQ+UTO2apyzTp7wK1eYaH3fe8OVZ3M0uexF8/T/zzRQ2dHqZNNWiySu9ZlPTjiQ==",
"success": true, "success": true,
"projectFilePath": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj", "projectFilePath": "/home/mike/Documents/Code/WorkingOn/Tesses.Http/Tesses.Http/Tesses.Http.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [