Skip to content

Commit 0ca791c

Browse files
committed
zip file
1 parent 5c60523 commit 0ca791c

4 files changed

Lines changed: 60 additions & 1 deletion

File tree

v2/book/examples/requiredenum.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
<h1>RSCG nr 226 : requiredenum</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/requiredenum/" target="_blank">https://www.nuget.org/packages/requiredenum/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/emptycoder/RequiredEnum" target="_blank"> https://github.com/emptycoder/RequiredEnum</a></p>
8+
9+
<p>Author :Yaroslav</p>
10+
11+
<p>Source: <a href="https://github.com/emptycoder/RequiredEnum" target="_blank">https://github.com/emptycoder/RequiredEnum</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Raise an error at compile time if not have switch handle case all enums values
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/requiredenum/" target="_blank">requiredenum</a> in the csproj
22+
</h3>
23+
<img src="images/requiredenum/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/requiredenum/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file RequiredCarTypes.cs
35+
<br />
36+
<img src="images/requiredenum/csFiles/RequiredCarTypes.cs.png" width="580" height="580" />
37+
<hr />
38+
<h3>And here are the <i>generated</i> files</h3>
39+
40+
<p>
41+
You can download the code and this page as pdf from
42+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/requiredenum'>
43+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/requiredenum
44+
</a>
45+
</p>
46+
47+
48+
<p>
49+
You can see the whole list at
50+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
51+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
52+
</a>
53+
</p>
54+

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

2323
<table >
@@ -926,6 +926,10 @@ <h1>
926926
<td>225</td>
927927
<td><a href="examples/Schema.html">Schema</a></td>
928928
</tr>
929+
<tr>
930+
<td>226</td>
931+
<td><a href="examples/requiredenum.html">requiredenum</a></td>
932+
</tr>
929933
</table>
930934

931935

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ input-files:
239239
- examples/JinShil.MixinSourceGenerator.html
240240
- examples/FactoryGenerator.Abstractions.html
241241
- examples/Schema.html
242+
- examples/requiredenum.html
242243

243244
# or you may use input-file: with a single value
244245
# defaults:
1.63 KB
Binary file not shown.

0 commit comments

Comments
 (0)