Elskom / IDisposableGenerator

Source Generator Generating the Dispose functions in Disposables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Source Generator Generating the Dispose functions in Disposables.

License:MIT License


Languages

Language:C# 96.4%Language:PowerShell 3.6%