From dfa0237a35b815f174b810aba2e996d61bb84a9b Mon Sep 17 00:00:00 2001 From: Ken Tucker Date: Wed, 20 Nov 2024 20:58:26 -0500 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd14ebc..41d9176 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # vb2ae.ServiceLocator.MSDependencyInjection +[![.NET](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/dotnet.yml/badge.svg)](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/dotnet.yml) + +[![CodeQL](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/github-code-scanning/codeql) + +[![Dependabot Updates](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/vb2ae/vb2ae.ServiceLocator.MSDependencyInjection/actions/workflows/dependabot/dependabot-updates) The purpose of this class library is to be able to use Microsoft.Extensions.DependencyInjection with the common service locator. + ## example private IServiceProvider Build() { @@ -20,4 +26,4 @@ The purpose of this class library is to be able to use Microsoft.Extensions.Depe _services = _defaultBuilder.Build().Services; CommonServiceLocator.ServiceLocator.SetLocatorProvider(() => new vb2ae.ServiceLocator.MSDependencyInjection.MSDependencyInjectionServiceLocator(_services)); return _services; - } \ No newline at end of file + }