-
-
Notifications
You must be signed in to change notification settings - Fork 6
first #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ignatandrei
merged 5 commits into
main
from
515-httpsgithubcomsonnemafreflectionitdisposegenerator
Aug 19, 2026
Merged
first #528
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # Just later | ||
|
|
||
| ## Latest Update : 2026-08-18 => 18 August 2026 | ||
| ## Latest Update : 2026-08-19 => 19 August 2026 | ||
|
|
||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
|
|
||
| <h1>RSCG nr 279 : ReflectionIT.DisposeGenerator</h1> | ||
|
|
||
| <h2>Info</h2> | ||
| Nuget : <a href="https://www.nuget.org/packages/ReflectionIT.DisposeGenerator/" target="_blank">https://www.nuget.org/packages/ReflectionIT.DisposeGenerator/</a> | ||
|
|
||
| <p>You can find more details at : <a href="https://github.com/sonnemaf/ReflectionIT.DisposeGenerator" target="_blank"> https://github.com/sonnemaf/ReflectionIT.DisposeGenerator</a></p> | ||
|
|
||
| <p>Author :Fons Sonnemans</p> | ||
|
|
||
| <p>Source: <a href="https://github.com/sonnemaf/ReflectionIT.DisposeGenerator" target="_blank">https://github.com/sonnemaf/ReflectionIT.DisposeGenerator</a> </p> | ||
|
|
||
| <h2>About</h2> | ||
|
|
||
| Automatically implements the IDisposable pattern for classes that contain disposable fields. | ||
|
|
||
| <h2> | ||
| How to use | ||
| </h2> | ||
| <h3> | ||
| Add reference to the <a href="https://www.nuget.org/packages/ReflectionIT.DisposeGenerator/" target="_blank">ReflectionIT.DisposeGenerator</a> in the csproj | ||
| </h3> | ||
| <img src="images/ReflectionIT.DisposeGenerator/IDisp.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/ReflectionIT.DisposeGenerator/csFiles/Program.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
|
|
||
| <br /> | ||
| I have <b>coded</b> the file ConnectionDB.cs | ||
| <br /> | ||
| <img src="images/ReflectionIT.DisposeGenerator/csFiles/ConnectionDB.cs.png" width="580" height="580" /> | ||
| <hr /> | ||
| <h3>And here are the <i>generated</i> files</h3> | ||
|
|
||
| <br /> | ||
| The file <i>generated</i> is IDisposableGeneratorDemo.DALDB.g.cs | ||
| <br /> | ||
| <img src="images/ReflectionIT.DisposeGenerator/generated/IDisposableGeneratorDemo.DALDB.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/ReflectionIT.DisposeGenerator'> | ||
| https://ignatandrei.github.io/RSCG_Examples/v2/docs/ReflectionIT.DisposeGenerator | ||
| </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> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
v2/rscg_examples/ReflectionIT.DisposeGenerator/description.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "generator":{ | ||
| "name":"ReflectionIT.DisposeGenerator", | ||
| "nuget":[ | ||
| "https://www.nuget.org/packages/ReflectionIT.DisposeGenerator/" | ||
| ], | ||
| "link":"https://github.com/sonnemaf/ReflectionIT.DisposeGenerator", | ||
| "author":"Fons Sonnemans", | ||
| "source":"https://github.com/sonnemaf/ReflectionIT.DisposeGenerator" | ||
| }, | ||
| "data":{ | ||
| "goodFor":["Automatically implements the IDisposable pattern for classes that contain disposable fields."], | ||
| "csprojDemo":"IDisp.csproj", | ||
| "csFiles":["Program.cs","DALDB.cs","ConnectionDB.cs"], | ||
| "excludeDirectoryGenerated":[""], | ||
| "includeAdditionalFiles":[""] | ||
| }, | ||
| "links":{ | ||
| "blog":"", | ||
| "video":"" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Package Description | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 50383
🏁 Script executed:
Repository: ignatandrei/RSCG_Examples
Length of output: 10523
Replace the placeholder package description.
nuget.txtcontains onlyPackage Description. Add a package-specific one-line summary.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents