Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Elskom/IDisposableGenerator
Source Generator Generating the Dispose functions in Disposables.
https://github.com/Elskom/IDisposableGenerator
Last synced: 1 day ago
JSON representation
Source Generator Generating the Dispose functions in Disposables.
- Host: GitHub
- URL: https://github.com/Elskom/IDisposableGenerator
- Owner: Elskom
- License: mit
- Created: 2021-06-30T21:58:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T04:56:47.000Z (6 months ago)
- Last Synced: 2024-05-12T13:31:50.623Z (6 months ago)
- Language: C#
- Homepage:
- Size: 105 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- RSCG_Examples - https://github.com/Elskom/IDisposableGenerator
- csharp-source-generators - IDisposableGenerator - ![stars](https://img.shields.io/github/stars/Elskom/IDisposableGenerator?style=flat-square&cacheSeconds=604800) ![last commit](https://img.shields.io/github/last-commit/Elskom/IDisposableGenerator?style=flat-square&cacheSeconds=86400) - a Source Generator for Generating the Dispose functions in Disposables. All you have to do is mark them with attributes and it will work from there. (Source Generators / Other)
README
# IDisposableGenerator
Source Generator Generating the Dispose functions in Disposables.## Code Ownership
All code used is copyright of Elskom org, with the exception of Roslyn which is copyright of the .NET Foundation and it's contributors.
The dependencies of the unit tests are copyright of their respective owners.
## Status
This project is currently actively maintained whenever an issue happens (or whenever major roslyn changes happens that break it).
## Purpose
This project is for easily generating the dispose functions of disposable types using attributes to control the generator on how it writes the generated code. This results in code that is more maintainable and cleaner than if you had to implement the IDisposable interface yourself. Disposable types require marking the type as partial to properly compile the generated code.
## Documentation
It is currently in the works.
## Badges
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4764a3b231ad40c798ea3d193ff3dfe7)](https://www.codacy.com/gh/Elskom/IDisposableGenerator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Elskom/IDisposableGenerator&utm_campaign=Badge_Grade)
[![Codacy Coverage Badge](https://app.codacy.com/project/badge/Coverage/4764a3b231ad40c798ea3d193ff3dfe7)](https://www.codacy.com/gh/Elskom/IDisposableGenerator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Elskom/IDisposableGenerator&utm_campaign=Badge_Coverage)| Package | Version |
|:-------:|:-------:|
| IDisposableGenerator | [![NuGet Badge](https://buildstats.info/nuget/IDisposableGenerator?includePreReleases=true)](https://www.nuget.org/packages/IDisposableGenerator/) |