Skip to content

Commit

Permalink
Merge pull request #347 from ignatandrei/Larcanum.GitInfo
Browse files Browse the repository at this point in the history
Larcanum.git info
  • Loading branch information
ignatandrei authored Jan 18, 2025
2 parents 5308331 + bbf5439 commit 94104c2
Show file tree
Hide file tree
Showing 40 changed files with 1,090 additions and 42 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RSCG - 180 Examples of Roslyn Source Code Generators / 14 created by Microsoft /
# RSCG - 181 Examples of Roslyn Source Code Generators / 14 created by Microsoft /

## Latest Update : 2024-12-08 => 08 December 2024
## Latest Update : 2025-01-17 => 17 January 2025

If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***

Expand All @@ -20,8 +20,30 @@ If you want to be notified each time I add a new RSCG example , please click htt

## Content

Those are the 180 Roslyn Source Code Generators that I have tested you can see and download source code example.
Those are the 181 Roslyn Source Code Generators that I have tested you can see and download source code example.
( including 14 from Microsoft )
### 181. [Larcanum.GitInfo](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category

Generated on : 2025-01-17 => 17 January 2025

<details>
<summary>Expand</summary>



Author:

Package Description

Nuget: [https://www.nuget.org/packages/Larcanum.GitInfo/](https://www.nuget.org/packages/Larcanum.GitInfo/)


Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo)

Source: [https://github.com/lord-executor/Larcanum.GitInfo](https://github.com/lord-executor/Larcanum.GitInfo)

</details>

### 180. [Pure.DI](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Pure.DI) , in the [DependencyInjection](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#dependencyinjection) category

Generated on : 2024-12-08 => 08 December 2024
Expand Down
6 changes: 6 additions & 0 deletions v2/RSCGExamplesData/GeneratorDataRec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1084,5 +1084,11 @@
"Category": 7,
"dtStart": "2024-12-08T00:00:00",
"show": true
},
{
"ID":"Larcanum.GitInfo",
"Category": 1,
"dtStart": "2025-01-17T00:00:00",
"show": true
}
]
53 changes: 53 additions & 0 deletions v2/book/examples/Larcanum.GitInfo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

<h1>RSCG nr 181 : Larcanum.GitInfo</h1>

<h2>Info</h2>
Nuget : <a href="https://www.nuget.org/packages/Larcanum.GitInfo/" target="_blank">https://www.nuget.org/packages/Larcanum.GitInfo/</a>

<p>You can find more details at : <a href="https://github.com/lord-executor/Larcanum.GitInfo" target="_blank"> https://github.com/lord-executor/Larcanum.GitInfo</a></p>

<p>Author :</p>

<p>Source : <a href="https://github.com/lord-executor/Larcanum.GitInfo" target="_blank">https://github.com/lord-executor/Larcanum.GitInfo</a> </p>

<h2>About</h2>



<h2>
How to use
</h2>
<h3>
Add reference to the <a href="https://www.nuget.org/packages/Larcanum.GitInfo/" target="_blank">Larcanum.GitInfo</a> in the csproj
</h3>
<img src="images/Larcanum.GitInfo/DemoGit.csproj.png" width="580" height="580" />

<h3>This was for me the <b>starting</b> code</h3>

<br />
I have <b>coded</b> the file Program.cs
<br />
<img src="images/Larcanum.GitInfo/csFiles/Program.cs.png" width="580" height="580" />
<hr />
<h3>And here are the <i>generated</i> files</h3>

<br />
The file <i>generated</i> is GitInfo.g.cs
<br />
<img src="images/Larcanum.GitInfo/generated/GitInfo.g.cs.png" width="580" height="580" />

<p>
You can download the code and this page as pdf from
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Larcanum.GitInfo
</a>
</p>


<p>
You can see the whole list at
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
</a>
</p>

6 changes: 5 additions & 1 deletion v2/book/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</head>
<body>
<h1>
This is the list of 180 RSCG with examples =>
This is the list of 181 RSCG with examples =>
</h1>

<table >
Expand Down Expand Up @@ -746,6 +746,10 @@ <h1>
<td>180</td>
<td><a href="examples/Pure.DI.html">Pure.DI</a></td>
</tr>
<tr>
<td>181</td>
<td><a href="examples/Larcanum.GitInfo.html">Larcanum.GitInfo</a></td>
</tr>
</table>


Expand Down
1 change: 1 addition & 0 deletions v2/book/pandocHTML.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ input-files:
- examples/Valuify.html
- examples/ConstructorGenerator.html
- examples/Pure.DI.html
- examples/Larcanum.GitInfo.html

# or you may use input-file: with a single value
# defaults:
Expand Down
22 changes: 22 additions & 0 deletions v2/rscg_examples/Larcanum.GitInfo/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"generator":{
"name":"Larcanum.GitInfo",
"nuget":[
"https://www.nuget.org/packages/Larcanum.GitInfo/"
],
"link":"https://github.com/lord-executor/Larcanum.GitInfo",
"author":"",
"source":"https://github.com/lord-executor/Larcanum.GitInfo"
},
"data":{
"goodFor":["Generates GitInfo data from the current environment."],
"csprojDemo":"DemoGit.csproj",
"csFiles":["Program.cs"],
"excludeDirectoryGenerated":[""],
"includeAdditionalFiles":[""]
},
"links":{
"blog":"",
"video":""
}
}
1 change: 1 addition & 0 deletions v2/rscg_examples/Larcanum.GitInfo/nuget.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Package Description
Loading

0 comments on commit 94104c2

Please sign in to comment.