Scrutor
Scrutor copied to clipboard
Adding DecorateKeyed extension methods provided by isolated ServiceCollection.
Usage
`services.AddKeyedTransient<IMyService, MyImpl>(myKey1); services.DecorateKeyed<IMyService, MyFirstDecorator>(myKey1); services.DecorateKeyed<IMyService, MySecondDecorator>(myKey1);
services.AddKeyedSingleton<IMyService, MyImpl>(myKey2); services.DecorateKeyed<IMyService, MyFirstDecorator>(myKey2); services.DecorateKeyed<IMyService, MySecondDecorator>(myKey2);`