Skip to content

Commit 7cfae8e

Browse files
authored
Merge pull request #410 from ignatandrei/409-httpsgithubcomhanachirurapidenum
2 parents 6b4e0f6 + 21aff60 commit 7cfae8e

File tree

29 files changed

+1320
-194
lines changed

29 files changed

+1320
-194
lines changed

README.md

Lines changed: 64 additions & 49 deletions
Large diffs are not rendered by default.

later.md

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Just later
22

3-
## Latest Update : 2025-10-03 => 03 October 2025
3+
## Latest Update : 2025-10-04 => 04 October 2025
44

55

66

@@ -62,91 +62,85 @@ Why I have not tested : later
6262

6363

6464

65-
10) [https://github.com/hanachiru/RapidEnum]( https://github.com/hanachiru/RapidEnum) , https://github.com/hanachiru/RapidEnum
65+
10) [https://github.com/Hookyns/validly]( https://github.com/Hookyns/validly) , https://github.com/Hookyns/validly
6666

6767
Why I have not tested : later
6868

6969

7070

71-
11) [https://github.com/Hookyns/validly]( https://github.com/Hookyns/validly) , https://github.com/Hookyns/validly
71+
11) [https://github.com/nuskey8/Csv-CSharp]( https://github.com/nuskey8/Csv-CSharp) , https://github.com/nuskey8/Csv-CSharp
7272

7373
Why I have not tested : later
7474

7575

7676

77-
12) [https://github.com/nuskey8/Csv-CSharp]( https://github.com/nuskey8/Csv-CSharp) , https://github.com/nuskey8/Csv-CSharp
77+
12) [https://github.com/pierre3/PlantUmlClassDiagramGenerator]( https://github.com/pierre3/PlantUmlClassDiagramGenerator) , https://github.com/pierre3/PlantUmlClassDiagramGenerator
7878

7979
Why I have not tested : later
8080

8181

8282

83-
13) [https://github.com/pierre3/PlantUmlClassDiagramGenerator]( https://github.com/pierre3/PlantUmlClassDiagramGenerator) , https://github.com/pierre3/PlantUmlClassDiagramGenerator
83+
13) [https://github.com/Stepami/visitor-net]( https://github.com/Stepami/visitor-net) , https://github.com/Stepami/visitor-net
8484

8585
Why I have not tested : later
8686

8787

8888

89-
14) [https://github.com/Stepami/visitor-net]( https://github.com/Stepami/visitor-net) , https://github.com/Stepami/visitor-net
89+
14) [https://github.com/SzymonHalucha/Minerals.AutoCommands]( https://github.com/SzymonHalucha/Minerals.AutoCommands) , https://github.com/SzymonHalucha/Minerals.AutoCommands
9090

9191
Why I have not tested : later
9292

9393

9494

95-
15) [https://github.com/SzymonHalucha/Minerals.AutoCommands]( https://github.com/SzymonHalucha/Minerals.AutoCommands) , https://github.com/SzymonHalucha/Minerals.AutoCommands
95+
15) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
9696

9797
Why I have not tested : later
9898

9999

100100

101-
16) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
101+
16) [Maui.BindableProperty.Generator]( https://github.com/rrmanzano/maui-bindableproperty-generator) , https://github.com/rrmanzano/maui-bindableproperty-generator
102102

103103
Why I have not tested : later
104104

105105

106106

107-
17) [Maui.BindableProperty.Generator]( https://github.com/rrmanzano/maui-bindableproperty-generator) , https://github.com/rrmanzano/maui-bindableproperty-generator
107+
17) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
108108

109109
Why I have not tested : later
110110

111111

112112

113-
18) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
113+
18) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
114114

115115
Why I have not tested : later
116116

117117

118118

119-
19) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
119+
19) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
120120

121121
Why I have not tested : later
122122

123123

124124

125-
20) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
125+
20) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
126126

127127
Why I have not tested : later
128128

129129

130130

131-
21) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
131+
21) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
132132

133133
Why I have not tested : later
134134

135135

136136

137-
22) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
137+
22) [ST.NSwag.ServerSourceGenerator]( https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator) , https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator
138138

139139
Why I have not tested : later
140140

141141

142142

143-
23) [ST.NSwag.ServerSourceGenerator]( https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator) , https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator
144-
145-
Why I have not tested : later
146-
147-
148-
149-
24) [StrongInject]( https://github.com/YairHalberstadt/stronginject/) , https://github.com/YairHalberstadt/stronginject/
143+
23) [StrongInject]( https://github.com/YairHalberstadt/stronginject/) , https://github.com/YairHalberstadt/stronginject/
150144

151145
Why I have not tested : later
152146

v2/Generator/MultiGeneratorV2.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ public string[] SourceNoRSCG()
120120
var text=await File.ReadAllTextAsync(nameFile);
121121
text = text.Replace("(docs/", $"({d.Generator!.Source}/docs/");
122122
text = text.Replace("(img/", $"({d.Generator!.Source}/img/");
123-
text=text.Replace("(README_IMAGE.png)", $"({d.Generator!.Source}/README_IMAGE.png)");
123+
text = text.Replace("(./Images/", $"({d.Generator!.Source}/Images/");
124+
text = text.Replace("(README_IMAGE.png)", $"({d.Generator!.Source}/README_IMAGE.png)");
125+
text = text.Replace("[this]()", $"[this]({d.Generator!.Source})");
124126
text = text.Replace("(README", $"({d.Generator!.Source}/README");
125127
text = text.Replace("(integ-tests/", $"({d.Generator!.Source}/integ-tests/");
126128
text = text.Replace("(./samples", $"({d.Generator!.Source}/samples");

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,4 @@ Nr,Key,Source,Category
232232
231,kli.Localize, https://github.com/kl1mm/localize,FilesToCode
233233
232,ConsoleAppFramework, https://github.com/Cysharp/ConsoleAppFramework,Console
234234
233,Vyaml, https://github.com/hadashiA/VYaml,Serializer
235+
234,RapidEnum, https://github.com/hanachiru/RapidEnum,Enum

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,5 +1408,11 @@
14081408
"Category":16,
14091409
"dtStart": "2025-10-03T00:00:00",
14101410
"show": true
1411+
},
1412+
{
1413+
"ID":"RapidEnum",
1414+
"Category":19,
1415+
"dtStart": "2025-10-04T00:00:00",
1416+
"show": true
14111417
}
14121418
]

v2/RSCGExamplesData/NoExample.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -881,11 +881,6 @@
881881
"name":"https://github.com/Hookyns/validly",
882882
"why":"later"
883883
},
884-
{
885-
"ID":227,
886-
"name":"https://github.com/hanachiru/RapidEnum",
887-
"why":"later"
888-
},
889884
{
890885
"ID":228,
891886
"name":"https://github.com/nuskey8/Csv-CSharp",

v2/book/examples/RapidEnum.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
<h1>RSCG nr 234 : RapidEnum</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/RapidEnum/" target="_blank">https://www.nuget.org/packages/RapidEnum/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/hanachiru/RapidEnum" target="_blank"> https://github.com/hanachiru/RapidEnum</a></p>
8+
9+
<p>Author :hanachiru</p>
10+
11+
<p>Source: <a href="https://github.com/hanachiru/RapidEnum" target="_blank">https://github.com/hanachiru/RapidEnum</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Generate enum values without reflection
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/RapidEnum/" target="_blank">RapidEnum</a> in the csproj
22+
</h3>
23+
<img src="images/RapidEnum/EnumDemo.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/RapidEnum/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file CarTypes.cs
35+
<br />
36+
<img src="images/RapidEnum/csFiles/CarTypes.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 CarTypesEnumExtensions.g.cs
42+
<br />
43+
<img src="images/RapidEnum/generated/CarTypesEnumExtensions.g.cs.png" width="580" height="580" />
44+
45+
<br />
46+
The file <i>generated</i> is RapidEnumAttributes.g.cs
47+
<br />
48+
<img src="images/RapidEnum/generated/RapidEnumAttributes.g.cs.png" width="580" height="580" />
49+
50+
<p>
51+
You can download the code and this page as pdf from
52+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum'>
53+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum
54+
</a>
55+
</p>
56+
57+
58+
<p>
59+
You can see the whole list at
60+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
61+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
62+
</a>
63+
</p>
64+

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 233 RSCG with examples =>
20+
This is the list of 234 RSCG with examples =>
2121
</h1>
2222

2323
<table >
@@ -958,6 +958,10 @@ <h1>
958958
<td>233</td>
959959
<td><a href="examples/VYaml.html">VYaml</a></td>
960960
</tr>
961+
<tr>
962+
<td>234</td>
963+
<td><a href="examples/RapidEnum.html">RapidEnum</a></td>
964+
</tr>
961965
</table>
962966

963967

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ input-files:
247247
- examples/kli.Localize.html
248248
- examples/ConsoleAppFramework.html
249249
- examples/VYaml.html
250+
- examples/RapidEnum.html
250251

251252
# or you may use input-file: with a single value
252253
# defaults:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"generator":{
3+
"name":"RapidEnum",
4+
"nuget":[
5+
"https://www.nuget.org/packages/RapidEnum/"
6+
],
7+
"link":"https://github.com/hanachiru/RapidEnum",
8+
"author":"hanachiru",
9+
"source":"https://github.com/hanachiru/RapidEnum"
10+
},
11+
"data":{
12+
"goodFor":["Generate enum values without reflection"],
13+
"csprojDemo":"EnumDemo.csproj",
14+
"csFiles":["Program.cs","CarTypes.cs"],
15+
"excludeDirectoryGenerated":[""],
16+
"includeAdditionalFiles":[""]
17+
},
18+
"links":{
19+
"blog":"",
20+
"video":""
21+
}
22+
}

0 commit comments

Comments
 (0)