Skip to content

usercode/AspNetCore.Decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AspNetCore.Decorator

Allows to use the decorator pattern for ASP.NET Core dependency injection

How to use it

services.AddSingleton<IRepository, Repository>();

services.Decorate<IRepository, LogRepository>();
services.Decorate<IRepository, PermissionRepository>();

About

Allows to use the decorator pattern for ASP.NET Core dependency injection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages