Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Nov 15, 2023
1 parent 950bf03 commit c27128d
Show file tree
Hide file tree
Showing 17 changed files with 218 additions and 186 deletions.
95 changes: 52 additions & 43 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/Generator/MultiGeneratorV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ public class MultiGeneratorV2
, new("Pipelines https://github.com/DumplingsDevs/Pipelines/",old)
, new("FastAutoMapper https://github.com/myblindy/FastAutoMapper",old)
, new("json-converter-source-generator https://github.com/aviationexam/json-converter-source-generator",WaitingForIssue)
, new ("Biwen.AutoClassGen https://github.com/vipwan/Biwen.AutoClassGen",WaitingForIssue)
};

//there are more https://ignatandrei.github.io/RSCG_Examples/v2/docs/CommunityToolkit.Mvvm
Expand Down Expand Up @@ -261,6 +260,7 @@ public MultiGeneratorV2(string root)
{"N.SourceGenerators.UnionTypes",new(true,new(2023,10,29),Category.FunctionalProgramming) },
{"jscsg",new(true,new(2023,10,30),Category.Serializer) },
{"PrimaryParameter",new(true,new(2023,11,15),Category.Constructor) },
{"Biwen.AutoClassGen",new(true,new(2023,11,16),Category.EnhancementClass) }
};
var noCategory = generators.Where(it=>it.Value.Category == Category.None).ToArray();
if (noCategory.Length > 0)
Expand Down
1 change: 1 addition & 0 deletions v2/Generator/all.csv
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ Nr,Key,Source,Category
81,N.SourceGenerators.UnionTypes, https://github.com/Ne4to/N.SourceGenerators.UnionTypes,FunctionalProgramming
82,jscsg, https://github.com/aviationexam/json-converter-source-generator,Serializer
83,PrimaryParameter, https://github.com/FaustVX/PrimaryParameter,Constructor
84,Biwen.AutoClassGen, https://github.com/vipwan/Biwen.AutoClassGen,EnhancementClass
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_2099049519(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
internal static unsafe void __Wrapper_GetMessageFromDotnet_1544387919(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_2099049519", typeof(TestBlazor.Pages.CallJavaScript1))]
internal static void __Register_GetMessageFromDotnet_2099049519()
[global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_GetMessageFromDotnet_1544387919", typeof(TestBlazor.Pages.CallJavaScript1))]
internal static void __Register_GetMessageFromDotnet_1544387919()
{
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", 2099049519, 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", 1544387919, 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.9.1910")]
internal static partial string GetWelcomeMessage(string s)
{
if (__signature_GetWelcomeMessage_2099049519 == null)
if (__signature_GetWelcomeMessage_1544387919 == null)
{
__signature_GetWelcomeMessage_2099049519 = 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_1544387919 = 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_2099049519, __arguments_buffer);
global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetWelcomeMessage_1544387919, __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_2099049519;
static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetWelcomeMessage_1544387919;
}
}

Expand Down
Loading

0 comments on commit c27128d

Please sign in to comment.