Skip to content

Commit

Permalink
category
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Oct 6, 2023
1 parent a8d303c commit 2c89081
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
4 changes: 2 additions & 2 deletions v2/Generator/MultiGeneratorV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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 });
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = stackalloc global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument[3];
Expand All @@ -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;
}
}

Expand Down
2 changes: 1 addition & 1 deletion v2/rscg_examples_site/docs/NoExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions v2/rscg_examples_site/docs/RSCG-Examples/AutoDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/AutoDTO
## In the same category (Mapper)


### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)


### [mapperly](/docs/mapperly)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

3 changes: 0 additions & 3 deletions v2/rscg_examples_site/docs/RSCG-Examples/MapTo.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/MapTo
### [AutoDTO](/docs/AutoDTO)


### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)


### [mapperly](/docs/mapperly)


Expand Down
3 changes: 0 additions & 3 deletions v2/rscg_examples_site/docs/RSCG-Examples/NextGenMapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/NextGenMapper
### [AutoDTO](/docs/AutoDTO)


### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)


### [mapperly](/docs/mapperly)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

3 changes: 3 additions & 0 deletions v2/rscg_examples_site/docs/RSCG-Examples/System.Text.Json.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

18 changes: 9 additions & 9 deletions v2/rscg_examples_site/docs/RSCG-Examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ import DocCardList from '@theme/DocCardList';
</details>

<details>
<summary>Mapper =>examples:5</summary>
<summary>Mapper =>examples:4</summary>


Expand All @@ -317,11 +317,6 @@ import DocCardList from '@theme/DocCardList';

[MapTo](/docs/MapTo)



[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)

</details>

<details>
Expand Down Expand Up @@ -362,7 +357,7 @@ import DocCardList from '@theme/DocCardList';
</details>

<details>
<summary>Serializer =>examples:2</summary>
<summary>Serializer =>examples:3</summary>


Expand All @@ -373,6 +368,11 @@ import DocCardList from '@theme/DocCardList';

[ProtobufSourceGenerator](/docs/ProtobufSourceGenerator)



[JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)

</details>

<details>
Expand Down Expand Up @@ -527,8 +527,6 @@ flowchart LR;
Mapper--> MapTo((MapTo))
Mapper--> JsonPolymorphicGenerator((JsonPolymorphicGenerator))
MVVM--> CommunityToolkit.Mvvm((CommunityToolkit.Mvvm))
MVVM--> PropertyChangedSourceGenerator((PropertyChangedSourceGenerator))
Expand All @@ -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))
Expand Down
3 changes: 0 additions & 3 deletions v2/rscg_examples_site/docs/RSCG-Examples/mapperly.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ https://ignatandrei.github.io/RSCG_Examples/v2/docs/mapperly
### [AutoDTO](/docs/AutoDTO)


### [JsonPolymorphicGenerator](/docs/JsonPolymorphicGenerator)


### [MapTo](/docs/MapTo)


Expand Down
2 changes: 1 addition & 1 deletion v2/rscg_examples_site/docs/indexRSCG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion v2/rscg_examples_site/static/exports/RSCG.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
Expand Down
Binary file modified v2/rscg_examples_site/static/exports/RSCG.xlsx
Binary file not shown.

0 comments on commit 2c89081

Please sign in to comment.