From 2c890816fd2fa72fcf37478589354d00da770e3c Mon Sep 17 00:00:00 2001 From: Andrei Ignat Date: Fri, 6 Oct 2023 07:18:45 +0300 Subject: [PATCH] category --- README.md | 2 +- v2/Generator/MultiGeneratorV2.cs | 4 ++-- ...ft.Interop.JavaScript.JSExportGenerator.md | 8 ++++---- ...ft.Interop.JavaScript.JSImportGenerator.md | 8 ++++---- v2/rscg_examples_site/docs/NoExamples.md | 2 +- .../docs/RSCG-Examples/AutoDTO.md | 3 --- .../RSCG-Examples/JsonPolymorphicGenerator.md | 12 +++--------- .../docs/RSCG-Examples/MapTo.md | 3 --- .../docs/RSCG-Examples/NextGenMapper.md | 3 --- .../RSCG-Examples/ProtobufSourceGenerator.md | 3 +++ .../docs/RSCG-Examples/System.Text.Json.md | 3 +++ .../docs/RSCG-Examples/index.md | 18 +++++++++--------- .../docs/RSCG-Examples/mapperly.md | 3 --- v2/rscg_examples_site/docs/indexRSCG.md | 2 +- .../static/exports/RSCG.json | 2 +- .../static/exports/RSCG.xlsx | Bin 5357 -> 5362 bytes 16 files changed, 32 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 00decc8a2..a30bffdd8 100644 --- a/README.md +++ b/README.md @@ -1465,7 +1465,7 @@ https://github.com/ignatandrei/RSCG_Examples/issues/new?title=ValueLink&body=htt 40) [VisitorPatternGenerator]( https://github.com/hikarin522/VisitorPatternGenerator/) , https://github.com/hikarin522/VisitorPatternGenerator/ -Why I have not tested : later +Why I have not tested : issue opened https://github.com/ignatandrei/RSCG_Examples/issues/new?title=VisitorPatternGenerator&body=https://github.com/hikarin522/VisitorPatternGenerator/ diff --git a/v2/Generator/MultiGeneratorV2.cs b/v2/Generator/MultiGeneratorV2.cs index 8acdb7612..6fb11e858 100644 --- a/v2/Generator/MultiGeneratorV2.cs +++ b/v2/Generator/MultiGeneratorV2.cs @@ -161,7 +161,7 @@ public class MultiGeneratorV2 ,new NoExample("HubClientProxyGenerator https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.Client.SourceGenerator",inspirational) ,new NoExample("ArchomedaDisposeGenerator https://github.com/Archomeda/DisposeGenerator",old) ,new NoExample("PolymorphicJsonSourceGenerator https://github.com/harrhp/PolymorphicJsonSourceGenerator/","work just with records") -, new NoExample("VisitorPatternGenerator https://github.com/hikarin522/VisitorPatternGenerator/",later) +, new NoExample("VisitorPatternGenerator https://github.com/hikarin522/VisitorPatternGenerator/",WaitingForIssue) }; //there are more https://ignatandrei.github.io/RSCG_Examples/v2/docs/CommunityToolkit.Mvvm @@ -246,7 +246,7 @@ public MultiGeneratorV2(string root) {"Disposer",new(true, new(2023,10,3),Category.Disposer) }, {"BuilderGenerator", new (true,new(2023,10,4),Category.EnhancementClass) }, {"MapTo", new (true,new(2023,10,5),Category.Mapper ) }, - {"JsonPolymorphicGenerator", new (true,new(2023,10,6),Category.Mapper )}, + {"JsonPolymorphicGenerator", new (true,new(2023,10,6),Category.Serializer )}, //{"MagicMap" ,new(true,new(2023,10,7),Category.Mapper)}, //{"DisposableHelpers",new(true,new(2023,10,8),Category.Disposer) } diff --git a/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSExportGenerator.md b/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSExportGenerator.md index f80d293b9..ccf7cd434 100644 --- a/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSExportGenerator.md +++ b/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSExportGenerator.md @@ -43,7 +43,7 @@ namespace TestBlazor.Pages { public partial class CallJavaScript1 { - internal static unsafe void __Wrapper_GetMessageFromDotnet_966976305(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer) + internal static unsafe void __Wrapper_GetMessageFromDotnet_1169526479(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer) { string s; ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __arg_exception = ref __arguments_buffer[0]; @@ -65,12 +65,12 @@ namespace TestBlazor.Pages } [global::System.Runtime.CompilerServices.ModuleInitializerAttribute] - [global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_GetMessageFromDotnet_966976305", typeof(TestBlazor.Pages.CallJavaScript1))] - internal static void __Register_GetMessageFromDotnet_966976305() + [global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_GetMessageFromDotnet_1169526479", typeof(TestBlazor.Pages.CallJavaScript1))] + internal static void __Register_GetMessageFromDotnet_1169526479() { if (global::System.Runtime.InteropServices.RuntimeInformation.OSArchitecture != global::System.Runtime.InteropServices.Architecture.Wasm) return; - global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[TestBlazor]TestBlazor.Pages.CallJavaScript1:GetMessageFromDotnet", 966976305, new global::System.Runtime.InteropServices.JavaScript.JSMarshalerType[] { global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String }); + global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[TestBlazor]TestBlazor.Pages.CallJavaScript1:GetMessageFromDotnet", 1169526479, new global::System.Runtime.InteropServices.JavaScript.JSMarshalerType[] { global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String }); } } } diff --git a/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSImportGenerator.md b/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSImportGenerator.md index 7053f99bb..c90a52235 100644 --- a/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSImportGenerator.md +++ b/v2/rscg_examples_site/docs/Microsoft/Microsoft.Interop.JavaScript.JSImportGenerator_Microsoft.Interop.JavaScript.JSImportGenerator.md @@ -46,9 +46,9 @@ namespace TestBlazor.Pages [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.JavaScript.JSImportGenerator", "7.0.8.42427")] internal static partial string GetWelcomeMessage(string s) { - if (__signature_GetWelcomeMessage_966976305 == null) + if (__signature_GetWelcomeMessage_1169526479 == null) { - __signature_GetWelcomeMessage_966976305 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("getMessage", "CallJavaScript1", new global::System.Runtime.InteropServices.JavaScript.JSMarshalerType[] { global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String }); + __signature_GetWelcomeMessage_1169526479 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("getMessage", "CallJavaScript1", new global::System.Runtime.InteropServices.JavaScript.JSMarshalerType[] { global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String }); } global::System.Span __arguments_buffer = stackalloc global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument[3]; @@ -60,14 +60,14 @@ namespace TestBlazor.Pages // Setup - Perform required setup. ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __s_native__js_arg = ref __arguments_buffer[2]; __s_native__js_arg.ToJS(s); - global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetWelcomeMessage_966976305, __arguments_buffer); + global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetWelcomeMessage_1169526479, __arguments_buffer); // Unmarshal - Convert native data to managed data. __arg_return.ToManaged(out __retVal); return __retVal; } [global::System.ThreadStaticAttribute] - static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetWelcomeMessage_966976305; + static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetWelcomeMessage_1169526479; } } diff --git a/v2/rscg_examples_site/docs/NoExamples.md b/v2/rscg_examples_site/docs/NoExamples.md index a9e05961d..00f9f0f29 100644 --- a/v2/rscg_examples_site/docs/NoExamples.md +++ b/v2/rscg_examples_site/docs/NoExamples.md @@ -548,7 +548,7 @@ Why I have not put example: old ISourceGenerator 136)VisitorPatternGenerator https://github.com/hikarin522/VisitorPatternGenerator/ -Why I have not put example: later +Why I have not put example: issue opened 137)Visor https://github.com/Tinkoff/Visor diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/AutoDTO.md b/v2/rscg_examples_site/docs/RSCG-Examples/AutoDTO.md index d2ca560b5..7baf742d2 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/AutoDTO.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/AutoDTO.md @@ -309,9 +309,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/AutoDTO ## In the same category (Mapper) -### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) - - ### [mapperly](/docs/mapperly) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/JsonPolymorphicGenerator.md b/v2/rscg_examples_site/docs/RSCG-Examples/JsonPolymorphicGenerator.md index 5b254697d..f2fc65113 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/JsonPolymorphicGenerator.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/JsonPolymorphicGenerator.md @@ -246,17 +246,11 @@ namespace JsonPolymorphicGeneratorDemo https://ignatandrei.github.io/RSCG_Examples/v2/docs/JsonPolymorphicGenerator -## In the same category (Mapper) +## In the same category (Serializer) -### [AutoDTO](/docs/AutoDTO) +### [ProtobufSourceGenerator](/docs/ProtobufSourceGenerator) -### [mapperly](/docs/mapperly) - - -### [MapTo](/docs/MapTo) - - -### [NextGenMapper](/docs/NextGenMapper) +### [System.Text.Json](/docs/System.Text.Json) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/MapTo.md b/v2/rscg_examples_site/docs/RSCG-Examples/MapTo.md index a4e13843d..0115540b5 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/MapTo.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/MapTo.md @@ -346,9 +346,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/MapTo ### [AutoDTO](/docs/AutoDTO) -### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) - - ### [mapperly](/docs/mapperly) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/NextGenMapper.md b/v2/rscg_examples_site/docs/RSCG-Examples/NextGenMapper.md index 067a9f262..29d234014 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/NextGenMapper.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/NextGenMapper.md @@ -492,9 +492,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/NextGenMapper ### [AutoDTO](/docs/AutoDTO) -### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) - - ### [mapperly](/docs/mapperly) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/ProtobufSourceGenerator.md b/v2/rscg_examples_site/docs/RSCG-Examples/ProtobufSourceGenerator.md index 9cc1e9aa7..a56cdde39 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/ProtobufSourceGenerator.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/ProtobufSourceGenerator.md @@ -321,5 +321,8 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/ProtobufSourceGenerator ## In the same category (Serializer) +### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) + + ### [System.Text.Json](/docs/System.Text.Json) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/System.Text.Json.md b/v2/rscg_examples_site/docs/RSCG-Examples/System.Text.Json.md index ca0c248b4..e54952ecf 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/System.Text.Json.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/System.Text.Json.md @@ -769,5 +769,8 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/System.Text.Json ## In the same category (Serializer) +### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) + + ### [ProtobufSourceGenerator](/docs/ProtobufSourceGenerator) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/index.md b/v2/rscg_examples_site/docs/RSCG-Examples/index.md index 3122fd10b..73a45d94c 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/index.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/index.md @@ -296,7 +296,7 @@ import DocCardList from '@theme/DocCardList';
- Mapper =>examples:5 + Mapper =>examples:4 @@ -317,11 +317,6 @@ import DocCardList from '@theme/DocCardList'; [MapTo](/docs/MapTo) - - - -[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) -
@@ -362,7 +357,7 @@ import DocCardList from '@theme/DocCardList';
- Serializer =>examples:2 + Serializer =>examples:3 @@ -373,6 +368,11 @@ import DocCardList from '@theme/DocCardList'; [ProtobufSourceGenerator](/docs/ProtobufSourceGenerator) + + + +[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) +
@@ -527,8 +527,6 @@ flowchart LR; Mapper--> MapTo((MapTo)) - Mapper--> JsonPolymorphicGenerator((JsonPolymorphicGenerator)) - MVVM--> CommunityToolkit.Mvvm((CommunityToolkit.Mvvm)) MVVM--> PropertyChangedSourceGenerator((PropertyChangedSourceGenerator)) @@ -543,6 +541,8 @@ flowchart LR; Serializer--> ProtobufSourceGenerator((ProtobufSourceGenerator)) + Serializer--> JsonPolymorphicGenerator((JsonPolymorphicGenerator)) + Templating--> RazorBlade((RazorBlade)) Templating--> Microsoft.NET.Sdk.Razor.SourceGenerators((Microsoft.NET.Sdk.Razor.SourceGenerators)) diff --git a/v2/rscg_examples_site/docs/RSCG-Examples/mapperly.md b/v2/rscg_examples_site/docs/RSCG-Examples/mapperly.md index 743dae637..bf2c791ce 100644 --- a/v2/rscg_examples_site/docs/RSCG-Examples/mapperly.md +++ b/v2/rscg_examples_site/docs/RSCG-Examples/mapperly.md @@ -283,9 +283,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/mapperly ### [AutoDTO](/docs/AutoDTO) -### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator) - - ### [MapTo](/docs/MapTo) diff --git a/v2/rscg_examples_site/docs/indexRSCG.md b/v2/rscg_examples_site/docs/indexRSCG.md index 4dae056f6..ae4ef7912 100644 --- a/v2/rscg_examples_site/docs/indexRSCG.md +++ b/v2/rscg_examples_site/docs/indexRSCG.md @@ -23,7 +23,7 @@ This is the list of 68 ( 6 from Microsoft) RSCG with examples | No | Name | Date | Category | | --------- | ----- | ---- | -------- | -|68|[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)|2023-10-06 => 06 October 2023 | Mapper | +|68|[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)|2023-10-06 => 06 October 2023 | Serializer | |67|[MapTo](/docs/MapTo)|2023-10-05 => 05 October 2023 | Mapper | |66|[BuilderGenerator](/docs/BuilderGenerator)|2023-10-04 => 04 October 2023 | EnhancementClass | |65|[Disposer](/docs/Disposer)|2023-10-03 => 03 October 2023 | Disposer | diff --git a/v2/rscg_examples_site/static/exports/RSCG.json b/v2/rscg_examples_site/static/exports/RSCG.json index 3b89b8dce..a012ab415 100644 --- a/v2/rscg_examples_site/static/exports/RSCG.json +++ b/v2/rscg_examples_site/static/exports/RSCG.json @@ -543,7 +543,7 @@ "Link": "https://ignatandrei.github.io/RSCG_Examples/v2/docs/JsonPolymorphicGenerator", "NuGet": "https://www.nuget.org/packages/GoLive.Generator.JsonPolymorphicGenerator/", "Source": "https://github.com/surgicalcoder/JsonPolymorphicGenerator", - "Category": "Mapper", + "Category": "Serializer", "AddedOn": "2023-10-06T00:00:00" } ] diff --git a/v2/rscg_examples_site/static/exports/RSCG.xlsx b/v2/rscg_examples_site/static/exports/RSCG.xlsx index 635e1e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