Skip to content

Commit 2f54649

Browse files
committed
frist
1 parent b040910 commit 2f54649

25 files changed

Lines changed: 1029 additions & 21 deletions

File tree

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# RSCG - 261 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
1+
# RSCG - 262 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
22

3-
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 261 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
3+
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 262 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
44

55
This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem
66

7-
## Latest Update : 2026-04-03 => 03 April 2026
7+
## Latest Update : 2026-04-04 => 04 April 2026
88

99
If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***
1010

@@ -24,8 +24,30 @@ If you want to be notified each time I add a new RSCG example , please click htt
2424

2525
## Content
2626

27-
Those are the 261 Roslyn Source Code Generators that I have tested you can see and download source code example.
27+
Those are the 262 Roslyn Source Code Generators that I have tested you can see and download source code example.
2828
( including 16 from Microsoft )
29+
### 262. [SvgIconGenerator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/SvgIconGenerator) , in the [FilesToCode](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#filestocode) category
30+
31+
Generated on : 2026-04-04 => 04 April 2026
32+
33+
<details>
34+
<summary>Expand</summary>
35+
36+
37+
38+
Author: Matt Schneeberger
39+
40+
SVG icon source generator
41+
42+
Nuget: [https://www.nuget.org/packages/SvgIconGenerator/](https://www.nuget.org/packages/SvgIconGenerator/)
43+
44+
45+
Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/SvgIconGenerator](https://ignatandrei.github.io/RSCG_Examples/v2/docs/SvgIconGenerator)
46+
47+
Source: [https://github.com/helluvamatt/SvgIconGenerator](https://github.com/helluvamatt/SvgIconGenerator)
48+
49+
</details>
50+
2951
### 261. [NLog.Extensions.ThisClass](https://ignatandrei.github.io/RSCG_Examples/v2/docs/NLog.Extensions.ThisClass) , in the [EnhancementClass](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementclass) category
3052

3153
Generated on : 2026-04-03 => 03 April 2026

later.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Just later
22

3-
## Latest Update : 2026-04-03 => 03 April 2026
3+
## Latest Update : 2026-04-04 => 04 April 2026
44

55

66

v2/.tours/SvgIconGenerator.tour

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
{
3+
"$schema": "https://aka.ms/codetour-schema",
4+
"title": "SvgIconGenerator",
5+
"steps":
6+
[
7+
{
8+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/DemoSvg.csproj",
9+
"description": "First, we add Nuget [SvgIconGenerator](https://www.nuget.org/packages/SvgIconGenerator/) in csproj ",
10+
"pattern": "SvgIconGenerator"
11+
}
12+
13+
,{
14+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/Icons.cs",
15+
"description": "File Icons.cs ",
16+
"pattern": "this is the code"
17+
}
18+
19+
,{
20+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/Program.cs",
21+
"description": "File Program.cs \r\n>> dotnet run --project rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/DemoSvg.csproj ",
22+
"pattern": "this is the code"
23+
}
24+
25+
26+
,{
27+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/obj/GX/SvgIconGenerator/SvgIconGenerator.IconGenerator/MyIcons.g.cs",
28+
"description": "Generated File 3 from 3 : MyIcons.g.cs ",
29+
"line": 1
30+
}
31+
32+
,{
33+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/obj/GX/SvgIconGenerator/SvgIconGenerator.IconGenerator/IconDto.g.cs",
34+
"description": "Generated File 2 from 3 : IconDto.g.cs ",
35+
"line": 1
36+
}
37+
38+
,{
39+
"file": "rscg_examples/SvgIconGenerator/src/DemoSvg/DemoSvg/obj/GX/SvgIconGenerator/SvgIconGenerator.IconGenerator/GenerateIconsAttribute.g.cs",
40+
"description": "Generated File 1 from 3 : GenerateIconsAttribute.g.cs ",
41+
"line": 1
42+
}
43+
44+
],
45+
46+
"ref": "main"
47+
48+
}

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,4 @@ Nr,Key,Source,Category
260260
259,TypedPaths, https://github.com/AlexChim1231/TypedPaths/,FilesToCode
261261
260,AssemblyMetadata, https://github.com/BenjaminAbt/AssemblyMetadata,EnhancementProject
262262
261,NLog.Extensions.ThisClass, https://github.com/trympet/ThisClass,EnhancementClass
263+
262,SvgIconGenerator, https://github.com/helluvamatt/SvgIconGenerator,FilesToCode

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,5 +1582,11 @@
15821582
"Category": 5,
15831583
"dtStart": "2026-04-03T00:00:00",
15841584
"show": true
1585+
},
1586+
{
1587+
"ID":"SvgIconGenerator",
1588+
"Category": 8,
1589+
"dtStart": "2026-04-04T00:00:00",
1590+
"show": true
15851591
}
15861592
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"generator":{
3+
"name":"SvgIconGenerator",
4+
"nuget":[
5+
"https://www.nuget.org/packages/SvgIconGenerator/"
6+
],
7+
"link":"https://github.com/helluvamatt/SvgIconGenerator",
8+
"author":"Matt Schneeberger",
9+
"source":"https://github.com/helluvamatt/SvgIconGenerator"
10+
},
11+
"data":{
12+
"goodFor":["Generating classes from SVG icons to be used in C# projects."],
13+
"csprojDemo":"DemoSvg.csproj",
14+
"csFiles":["Program.cs","Icons.cs"],
15+
"excludeDirectoryGenerated":[""],
16+
"includeAdditionalFiles":[""]
17+
},
18+
"links":{
19+
"blog":"",
20+
"video":""
21+
}
22+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SVG icon source generator

0 commit comments

Comments
 (0)