SkillAgentSearch skills...

IDisposableGenerator

Source Generator Generating the Dispose functions in Disposables.

Install / Use

/learn @Elskom/IDisposableGenerator
About this skill

Quality Score

0/100

Supported Platforms

Universal

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 Codacy Coverage Badge

| Package | Version | |:-------:|:-------:| | IDisposableGenerator | NuGet Badge |

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated2h ago
Forks2

Languages

C#

Security Score

90/100

Audited on Mar 31, 2026

No findings