Skip to content

Commit 1269263

Browse files
committed
zip
1 parent 51de609 commit 1269263

4 files changed

Lines changed: 85 additions & 1 deletion

File tree

v2/book/examples/ErrorOrX.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
2+
<h1>RSCG nr 254 : ErrorOrX</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/ErrorOrX/" target="_blank">https://www.nuget.org/packages/ErrorOrX/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/ANcpLua/ErrorOrX/" target="_blank"> https://github.com/ANcpLua/ErrorOrX/</a></p>
8+
9+
<p>Author :Alexander Nachtmanns</p>
10+
11+
<p>Source: <a href="https://github.com/ANcpLua/ErrorOrX/" target="_blank">https://github.com/ANcpLua/ErrorOrX/</a> </p>
12+
13+
<h2>About</h2>
14+
15+
API results from Functional returns of ErroOrX
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/ErrorOrX/" target="_blank">ErrorOrX</a> in the csproj
22+
</h3>
23+
<img src="images/ErrorOrX/DemoFuncAPI.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/ErrorOrX/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file PersonAPI.cs
35+
<br />
36+
<img src="images/ErrorOrX/csFiles/PersonAPI.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 ErrorOrEndpointAttributes.Mappings.g.cs
42+
<br />
43+
<img src="images/ErrorOrX/generated/ErrorOrEndpointAttributes.Mappings.g.cs.png" width="580" height="580" />
44+
45+
<br />
46+
The file <i>generated</i> is ErrorOrEndpointMappings.cs
47+
<br />
48+
<img src="images/ErrorOrX/generated/ErrorOrEndpointMappings.cs.png" width="580" height="580" />
49+
50+
<br />
51+
The file <i>generated</i> is ErrorOrEndpointOptions.g.cs
52+
<br />
53+
<img src="images/ErrorOrX/generated/ErrorOrEndpointOptions.g.cs.png" width="580" height="580" />
54+
55+
<br />
56+
The file <i>generated</i> is ErrorOrEndpoints.GlobalUsings.g.cs
57+
<br />
58+
<img src="images/ErrorOrX/generated/ErrorOrEndpoints.GlobalUsings.g.cs.png" width="580" height="580" />
59+
60+
<br />
61+
The file <i>generated</i> is OpenApiTransformers.g.cs
62+
<br />
63+
<img src="images/ErrorOrX/generated/OpenApiTransformers.g.cs.png" width="580" height="580" />
64+
65+
<p>
66+
You can download the code and this page as pdf from
67+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/ErrorOrX'>
68+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/ErrorOrX
69+
</a>
70+
</p>
71+
72+
73+
<p>
74+
You can see the whole list at
75+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
76+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
77+
</a>
78+
</p>
79+

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

2323
<table >
@@ -1038,6 +1038,10 @@ <h1>
10381038
<td>253</td>
10391039
<td><a href="examples/FastCloner.html">FastCloner</a></td>
10401040
</tr>
1041+
<tr>
1042+
<td>254</td>
1043+
<td><a href="examples/ErrorOrX.html">ErrorOrX</a></td>
1044+
</tr>
10411045
</table>
10421046

10431047

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ input-files:
267267
- examples/OrderedBuildersGenerator.html
268268
- examples/RSCG_idempotency.html
269269
- examples/FastCloner.html
270+
- examples/ErrorOrX.html
270271

271272
# or you may use input-file: with a single value
272273
# defaults:
3.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)