Skip to content

Commit a7e5ac3

Browse files
authored
Merge pull request #441 from ignatandrei/Facet.Search
2 parents c8610b8 + c128b1a commit a7e5ac3

File tree

29 files changed

+1368
-24
lines changed

29 files changed

+1368
-24
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# RSCG - 249 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
1+
# RSCG - 250 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 249 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 250 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 : 2025-12-16 => 16 December 2025
7+
## Latest Update : 2025-12-17 => 17 December 2025
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 249 Roslyn Source Code Generators that I have tested you can see and download source code example.
27+
Those are the 250 Roslyn Source Code Generators that I have tested you can see and download source code example.
2828
( including 16 from Microsoft )
29+
### 250. [Facet.Search](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search) , in the [Database](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#database) category
30+
31+
Generated on : 2025-12-17 => 17 December 2025
32+
33+
<details>
34+
<summary>Expand</summary>
35+
36+
37+
38+
Author: Tim Maes
39+
40+
Compile-time faceted search generation - attributes and source generators
41+
42+
Nuget: [https://www.nuget.org/packages/Facet.Search/](https://www.nuget.org/packages/Facet.Search/)
43+
44+
45+
Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search)
46+
47+
Source: [https://github.com/Tim-Maes/Facet.Search](https://github.com/Tim-Maes/Facet.Search)
48+
49+
</details>
50+
2951
### 249. [Silhouette](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Silhouette) , in the [Profiler](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#profiler) category
3052

3153
Generated on : 2025-12-16 => 16 December 2025

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 : 2025-12-16 => 16 December 2025
3+
## Latest Update : 2025-12-17 => 17 December 2025
44

55

66

v2/.tours/Facet.Search.tour

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

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,3 +248,4 @@ Nr,Key,Source,Category
248248
247,BlazorOcticons, https://github.com/BlazorOcticons/BlazorOcticons,Blazor
249249
248,docopt.net, https://github.com/docopt/docopt.net,CommandLine
250250
249,Silhouette, https://github.com/kevingosse/Silhouette,Profiler
251+
250,Facet.Search, https://github.com/Tim-Maes/Facet.Search,Database

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,5 +1509,11 @@
15091509
"Category": 44,
15101510
"dtStart": "2025-12-16T00:00:00",
15111511
"show": true
1512+
},
1513+
{
1514+
"ID":"Facet.Search",
1515+
"Category": 14,
1516+
"dtStart": "2025-12-17T00:00:00",
1517+
"show": true
15121518
}
15131519
]

v2/book/examples/Facet.Search.html

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
2+
<h1>RSCG nr 250 : Facet.Search</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">https://www.nuget.org/packages/Facet.Search/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank"> https://github.com/Tim-Maes/Facet.Search</a></p>
8+
9+
<p>Author :Tim Maes</p>
10+
11+
<p>Source: <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank">https://github.com/Tim-Maes/Facet.Search</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Generating search from C# clasess and propertiesIntegrating search in .NET applications
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">Facet.Search</a> in the csproj
22+
</h3>
23+
<img src="images/Facet.Search/SearchDemo.csproj.png" width="580" height="580" />
24+
25+
<h3>This was for me the <b>starting</b> code</h3>
26+
27+
<br />
28+
I have <b>coded</b> the file Program.cs
29+
<br />
30+
<img src="images/Facet.Search/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file Person.cs
35+
<br />
36+
<img src="images/Facet.Search/csFiles/Person.cs.png" width="580" height="580" />
37+
<hr />
38+
<h3>And here are the <i>generated</i> files</h3>
39+
40+
<br />
41+
The file <i>generated</i> is PersonFacetAggregations.g.cs
42+
<br />
43+
<img src="images/Facet.Search/generated/PersonFacetAggregations.g.cs.png" width="580" height="580" />
44+
45+
<br />
46+
The file <i>generated</i> is PersonSearchExtensions.g.cs
47+
<br />
48+
<img src="images/Facet.Search/generated/PersonSearchExtensions.g.cs.png" width="580" height="580" />
49+
50+
<br />
51+
The file <i>generated</i> is PersonSearchFilter.g.cs
52+
<br />
53+
<img src="images/Facet.Search/generated/PersonSearchFilter.g.cs.png" width="580" height="580" />
54+
55+
<br />
56+
The file <i>generated</i> is PersonSearchMetadata.g.cs
57+
<br />
58+
<img src="images/Facet.Search/generated/PersonSearchMetadata.g.cs.png" width="580" height="580" />
59+
60+
<p>
61+
You can download the code and this page as pdf from
62+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search'>
63+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search
64+
</a>
65+
</p>
66+
67+
68+
<p>
69+
You can see the whole list at
70+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
71+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
72+
</a>
73+
</p>
74+

v2/book/examples/RSCG_ExportDiagram.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h2>Info</h2>
66

77
<p>You can find more details at : <a href="RSCG_ExportDiagram" target="_blank"> RSCG_ExportDiagram</a></p>
88

9-
<p>Author :AndreiIgnat</p>
9+
<p>Author :Ignat Andrei</p>
1010

1111
<p>Source: <a href="https://github.com/ignatandrei/RSCG_ExportDiagram" target="_blank">https://github.com/ignatandrei/RSCG_ExportDiagram</a> </p>
1212

v2/book/examples/Silhouette.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ <h3>This was for me the <b>starting</b> code</h3>
2828
I have <b>coded</b> the file Program.cs
2929
<br />
3030
<img src="images/Silhouette/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file MyProfiler.cs
35+
<br />
36+
<img src="images/Silhouette/csFiles/MyProfiler.cs.png" width="580" height="580" />
3137
<hr />
3238
<h3>And here are the <i>generated</i> files</h3>
3339

v2/book/list.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</head>
1818
<body>
1919
<h1>
20-
This is the list of 249 RSCG with examples =>
20+
This is the list of 250 RSCG with examples =>
2121
</h1>
2222

2323
<table >
@@ -1022,6 +1022,10 @@ <h1>
10221022
<td>249</td>
10231023
<td><a href="examples/Silhouette.html">Silhouette</a></td>
10241024
</tr>
1025+
<tr>
1026+
<td>250</td>
1027+
<td><a href="examples/Facet.Search.html">Facet.Search</a></td>
1028+
</tr>
10251029
</table>
10261030

10271031

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ input-files:
263263
- examples/BlazorOcticons.html
264264
- examples/docopt.net.html
265265
- examples/Silhouette.html
266+
- examples/Facet.Search.html
266267

267268
# or you may use input-file: with a single value
268269
# defaults:

0 commit comments

Comments
 (0)