-
-
Notifications
You must be signed in to change notification settings - Fork 6
demo #468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo #468
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1606,5 +1606,11 @@ | |
| "Category": 6, | ||
| "dtStart": "2026-04-07T00:00:00", | ||
| "show": true | ||
| } , | ||
| { | ||
| "ID":"Aigamo.MatchGenerator", | ||
| "Category": 19, | ||
| "dtStart": "2026-04-05T00:00:00", | ||
| "show": true | ||
| } | ||
|
Comment on lines
+1609
to
1615
|
||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
|
|
||
| <h1>RSCG nr 266 : Aigamo.MatchGenerator</h1> | ||
|
|
||
| <h2>Info</h2> | ||
| Nuget : <a href="https://www.nuget.org/packages/Aigamo.MatchGenerator/" target="_blank">https://www.nuget.org/packages/Aigamo.MatchGenerator/</a> | ||
|
|
||
| <p>You can find more details at : <a href="https://github.com/ycanardeau/MatchGenerator" target="_blank"> https://github.com/ycanardeau/MatchGenerator</a></p> | ||
|
|
||
| <p>Author :Aigamo</p> | ||
|
|
||
| <p>Source: <a href="https://github.com/ycanardeau/MatchGenerator" target="_blank">https://github.com/ycanardeau/MatchGenerator</a> </p> | ||
|
|
||
| <h2>About</h2> | ||
|
|
||
| Transform enums into tagged unions -with error in Match ! | ||
|
|
||
| <h2> | ||
| How to use | ||
| </h2> | ||
| <h3> | ||
| Add reference to the <a href="https://www.nuget.org/packages/Aigamo.MatchGenerator/" target="_blank">Aigamo.MatchGenerator</a> in the csproj | ||
| </h3> | ||
| <img src="images/Aigamo.MatchGenerator/EnumDemo.csproj.png" width="580" height="580" /> | ||
|
|
||
| <h3>This was for me the <b>starting</b> code</h3> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file Program.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/csFiles/Program.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file CarTypes.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/csFiles/CarTypes.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
| <h3>And here are the <i>generated</i> files</h3> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is CarTypesMatchExtensions.g.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/generated/CarTypesMatchExtensions.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is GenerateMatchAttribute.g.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/generated/GenerateMatchAttribute.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is MaritalStatusMatchExtensions.g.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/generated/MaritalStatusMatchExtensions.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is EnumDemoEnumDemo.CarTypesTaggedEnum.g.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/generated/EnumDemoEnumDemo.CarTypesTaggedEnum.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is TaggedEnumAttribute.g.cs | ||
| <br /> | ||
| <img src="images/Aigamo.MatchGenerator/generated/TaggedEnumAttribute.g.cs.png" width="580" height="580" /> | ||
|
|
||
| <p> | ||
| You can download the code and this page as pdf from | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Aigamo.MatchGenerator'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/Aigamo.MatchGenerator | ||
| </a> | ||
| </p> | ||
|
|
||
|
|
||
| <p> | ||
| You can see the whole list at | ||
| <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG | ||
| </a> | ||
| </p> | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -17,7 +17,7 @@ | |||||
| </head> | ||||||
| <body> | ||||||
| <h1> | ||||||
| This is the list of 265 RSCG with examples => | ||||||
| This is the list of 266 RSCG with examples => | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Escape special character in heading text. Line 20 includes a raw Suggested fix-This is the list of 266 RSCG with examples =>
+This is the list of 266 RSCG with examples =>📝 Committable suggestion
Suggested change
🧰 Tools🪛 HTMLHint (1.9.2)[error] 20-20: Special characters must be escaped : [ > ]. (spec-char-escape) 🤖 Prompt for AI Agents |
||||||
| </h1> | ||||||
|
|
||||||
| <table > | ||||||
|
|
@@ -1086,6 +1086,10 @@ <h1> | |||||
| <td>265</td> | ||||||
| <td><a href="examples/lomapper.html">lomapper</a></td> | ||||||
| </tr> | ||||||
| <tr> | ||||||
| <td>266</td> | ||||||
| <td><a href="examples/Aigamo.MatchGenerator.html">Aigamo.MatchGenerator</a></td> | ||||||
| </tr> | ||||||
| </table> | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "generator":{ | ||
| "name":"Aigamo.MatchGenerator", | ||
| "nuget":[ | ||
| "https://www.nuget.org/packages/Aigamo.MatchGenerator/" | ||
| ], | ||
| "link":"https://github.com/ycanardeau/MatchGenerator", | ||
| "author":"Aigamo", | ||
| "source":"https://github.com/ycanardeau/MatchGenerator" | ||
| }, | ||
| "data":{ | ||
| "goodFor":["Transform enums into tagged unions -with error in Match !"], | ||
| "csprojDemo":"EnumDemo.csproj", | ||
| "csFiles":["Program.cs","CarTypes.cs"], | ||
| "excludeDirectoryGenerated":[""], | ||
| "includeAdditionalFiles":[""] | ||
| }, | ||
| "links":{ | ||
| "blog":"", | ||
| "video":"" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1 @@ | ||||||
| Package Description | ||||||
|
||||||
| Package Description | |
| Source generator for generating pattern-matching code in .NET applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace placeholder NuGet text with real package summary.
Line 1 still contains placeholder content (Package Description), which will surface as low-quality docs/metadata for this example.
Suggested fix
-Package Description
+<actual one-line description of Aigamo.MatchGenerator from NuGet/package docs>🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@v2/rscg_examples/Aigamo.MatchGenerator/nuget.txt` at line 1, Replace the
placeholder first line "Package Description" in nuget.txt with a concise real
NuGet package summary: a one-line sentence describing what Aigamo.MatchGenerator
does (its primary purpose), the target platform/framework (e.g., .NET version),
and the main capabilities or audience (e.g., match generation for
games/simulations), keeping it factual and under ~120 characters; update the
first line only so package metadata shows a meaningful summary rather than
placeholder text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify future generated date against PR creation time.
Line 31 says
Generated on : 2026-04-05, but this PR was created on April 4, 2026. Please confirm this is expected (timezone/automation behavior) to avoid timeline confusion in the catalog.🤖 Prompt for AI Agents