Skip to content

Commit 4560520

Browse files
committed
facet3
1 parent da059eb commit 4560520

6 files changed

Lines changed: 100 additions & 5 deletions

File tree

v2/book/examples/Facet.html

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
2+
<h1>RSCG nr 229 : Facet</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/Facet/" target="_blank">https://www.nuget.org/packages/Facet/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/Tim-Maes/Facet/" target="_blank"> https://github.com/Tim-Maes/Facet/</a></p>
8+
9+
<p>Author :Tim Maes</p>
10+
11+
<p>Source: <a href="https://github.com/Tim-Maes/Facet/" target="_blank">https://github.com/Tim-Maes/Facet/</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Custom generation and mapper
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/Facet/" target="_blank">Facet</a> in the csproj
22+
</h3>
23+
<img src="images/Facet/mapperDemo.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/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/csFiles/Person.cs.png" width="580" height="580" />
37+
<hr />
38+
39+
<br />
40+
I have <b>coded</b> the file PersonDto.cs
41+
<br />
42+
<img src="images/Facet/csFiles/PersonDto.cs.png" width="580" height="580" />
43+
<hr />
44+
<h3>And here are the <i>generated</i> files</h3>
45+
46+
<br />
47+
The file <i>generated</i> is PersonDTO.g.cs
48+
<br />
49+
<img src="images/Facet/generated/PersonDTO.g.cs.png" width="580" height="580" />
50+
51+
<br />
52+
The file <i>generated</i> is Extensions.Generated.cs
53+
<br />
54+
<img src="images/Facet/generated/Extensions.Generated.cs.png" width="580" height="580" />
55+
56+
<br />
57+
The file <i>generated</i> is LightweightObjectMapper.PreCodes.LightweightObjectMapperPreCodes.cs
58+
<br />
59+
<img src="images/Facet/generated/LightweightObjectMapper.PreCodes.LightweightObjectMapperPreCodes.cs.png" width="580" height="580" />
60+
61+
<br />
62+
The file <i>generated</i> is LightweightObjectMapper.PreCodes.PredefinedSpecialTypeMapping.cs
63+
<br />
64+
<img src="images/Facet/generated/LightweightObjectMapper.PreCodes.PredefinedSpecialTypeMapping.cs.png" width="580" height="580" />
65+
66+
<br />
67+
The file <i>generated</i> is LOMMapExtensions_mapperDemo_Person.g.cs
68+
<br />
69+
<img src="images/Facet/generated/LOMMapExtensions_mapperDemo_Person.g.cs.png" width="580" height="580" />
70+
71+
<br />
72+
The file <i>generated</i> is PredefinedSpecialTypeMapping.Generated.cs
73+
<br />
74+
<img src="images/Facet/generated/PredefinedSpecialTypeMapping.Generated.cs.png" width="580" height="580" />
75+
76+
<p>
77+
You can download the code and this page as pdf from
78+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet'>
79+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet
80+
</a>
81+
</p>
82+
83+
84+
<p>
85+
You can see the whole list at
86+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
87+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
88+
</a>
89+
</p>
90+

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

2323
<table >
@@ -938,6 +938,10 @@ <h1>
938938
<td>228</td>
939939
<td><a href="examples/mvvmgen.html">mvvmgen</a></td>
940940
</tr>
941+
<tr>
942+
<td>229</td>
943+
<td><a href="examples/Facet.html">Facet</a></td>
944+
</tr>
941945
</table>
942946

943947

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ input-files:
242242
- examples/requiredenum.html
243243
- examples/UtilityVerse.Copy.html
244244
- examples/mvvmgen.html
245+
- examples/Facet.html
245246

246247
# or you may use input-file: with a single value
247248
# defaults:

v2/rscg_examples_site/docs/RSCG-Examples/Facet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ Tim Maes
5353
<img
5454
src="https://raw.githubusercontent.com/Tim-Maes/Facet/master/assets/Facet.png"
5555
alt="Facet logo"
56-
width="400">
56+
width="400" />
5757
</div>
5858

5959
<div align="center">
6060
"One part of a subject, situation, object that has many parts."
6161
</div>
6262

63-
<br>
63+
<br/>
6464

6565
<div align="center">
6666

@@ -98,8 +98,8 @@ You can think of it like **carving out a specific facet** of a gem:
9898

9999
## :clipboard: Documentation
100100

101-
- **[Documentation & Guides](docs/README.md)**
102-
- [What is being generated?](docs/07_WhatIsBeingGenerated.md)
101+
- **[Documentation & Guides](https://github.com/Tim-Maes/Facet//docs/README.md)**
102+
- [What is being generated?](https://github.com/Tim-Maes/Facet//docs/07_WhatIsBeingGenerated.md)
103103

104104
## :star: Key Features
105105

-2 Bytes
Binary file not shown.
1.68 KB
Binary file not shown.

0 commit comments

Comments
 (0)