Skip to content

Commit 11f82be

Browse files
committed
zip
1 parent ce7d48c commit 11f82be

File tree

4 files changed

+70
-1
lines changed

4 files changed

+70
-1
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
<h1>RSCG nr 224 : FactoryGenerator.Abstractions</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/FactoryGenerator.Abstractions/" target="_blank">https://www.nuget.org/packages/FactoryGenerator.Abstractions/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/ivmazurenko/factory-generator" target="_blank"> https://github.com/ivmazurenko/factory-generator</a></p>
8+
9+
<p>Author :Ivan Mazurenko</p>
10+
11+
<p>Source: <a href="https://github.com/ivmazurenko/factory-generator" target="_blank">https://github.com/ivmazurenko/factory-generator</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Generating DI Factory based on the first parameter(s)
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/FactoryGenerator.Abstractions/" target="_blank">FactoryGenerator.Abstractions</a> in the csproj
22+
</h3>
23+
<img src="images/FactoryGenerator.Abstractions/InjectDemo.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/FactoryGenerator.Abstractions/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/FactoryGenerator.Abstractions/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 FactoryGenerator.Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.g.cs
42+
<br />
43+
<img src="images/FactoryGenerator.Abstractions/generated/FactoryGenerator.Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.g.cs.png" width="580" height="580" />
44+
45+
<br />
46+
The file <i>generated</i> is InjectDemo.PersonTypePersonFactoryFactory.g.cs
47+
<br />
48+
<img src="images/FactoryGenerator.Abstractions/generated/InjectDemo.PersonTypePersonFactoryFactory.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/FactoryGenerator.Abstractions'>
53+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/FactoryGenerator.Abstractions
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 223 RSCG with examples =>
20+
This is the list of 224 RSCG with examples =>
2121
</h1>
2222

2323
<table >
@@ -918,6 +918,10 @@ <h1>
918918
<td>223</td>
919919
<td><a href="examples/JinShil.MixinSourceGenerator.html">JinShil.MixinSourceGenerator</a></td>
920920
</tr>
921+
<tr>
922+
<td>224</td>
923+
<td><a href="examples/FactoryGenerator.Abstractions.html">FactoryGenerator.Abstractions</a></td>
924+
</tr>
921925
</table>
922926

923927

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ input-files:
237237
- examples/RxSourceGenerator.html
238238
- examples/Finch.Generators.html
239239
- examples/JinShil.MixinSourceGenerator.html
240+
- examples/FactoryGenerator.Abstractions.html
240241

241242
# or you may use input-file: with a single value
242243
# defaults:
Binary file not shown.

0 commit comments

Comments
 (0)