Skip to content

Commit 37f320a

Browse files
committed
Add badges to readme.
1 parent 0c8e7ac commit 37f320a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Options Bindings Generator
22

3+
4+
[![Nuget](https://img.shields.io/nuget/v/OptionsBindingsGenerator)](https://www.nuget.org/packages/OptionsBindingsGenerator)
5+
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/CodingFlow/options-bindings-generator/pull-request.yml)
6+
[![Nuget](https://img.shields.io/nuget/dt/OptionsBindingsGenerator)](https://www.nuget.org/packages/OptionsBindingsGenerator)
7+
[![GitHub Sponsors](https://img.shields.io/github/sponsors/CodingFlow)](https://github.com/sponsors/CodingFlow)
8+
39
C# source generator to automatically create boilerplate dependency injection registrations for configuration options.
410

511
When using the default dependency injection framework in .NET while following the [options pattern](https://learn.microsoft.com/en-us/dotnet/core/extensions/options), it requires specifying boilerplate configuration code per options type. This source generator takes care of the boilerplate by generating an extension method containing all the boilerplate code. You are only required to specify what matters via attributes on the options types.

0 commit comments

Comments
 (0)