https://github.com/usercode/aspnetcore.decorator
Allows to use the decorator pattern for ASP.NET Core dependency injection
https://github.com/usercode/aspnetcore.decorator
csharp dependency-injection
Last synced: 9 months ago
JSON representation
Allows to use the decorator pattern for ASP.NET Core dependency injection
- Host: GitHub
- URL: https://github.com/usercode/aspnetcore.decorator
- Owner: usercode
- License: mit
- Created: 2022-12-29T18:25:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T05:05:55.000Z (over 1 year ago)
- Last Synced: 2025-01-30T04:25:54.493Z (11 months ago)
- Topics: csharp, dependency-injection
- Language: C#
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AspNetCore.Decorator
Allows to use the decorator pattern for ASP.NET Core dependency injection
## How to use it
```csharp
services.AddSingleton();
services.Decorate();
services.Decorate();
```