RonSijm.Syringe
0.2.0
Prefix Reserved
See the version list below for details.
dotnet add package RonSijm.Syringe --version 0.2.0
NuGet\Install-Package RonSijm.Syringe -Version 0.2.0
<PackageReference Include="RonSijm.Syringe" Version="0.2.0" />
paket add RonSijm.Syringe --version 0.2.0
#r "nuget: RonSijm.Syringe, 0.2.0"
// Install RonSijm.Syringe as a Cake Addin #addin nuget:?package=RonSijm.Syringe&version=0.2.0 // Install RonSijm.Syringe as a Cake Tool #tool nuget:?package=RonSijm.Syringe&version=0.2.0
<a id='snippet-D:\RonSijm\RonSijm.Syringe\src\Lib\RonSijm.Syringe.Lib\Features\Resolving\SyringeServiceProvider.cs'></a>
{
_innerProvider = innerProvider;
_innerKeyedProvider = innerProvider as IKeyedServiceProvider;
_afterGetService = afterServiceExtensions?.ToList();
}
private readonly List<ISyringeServiceProviderAfterServiceExtension> _afterGetService;
public SyringeServiceProvider(IServiceCollection descriptors, ServiceProviderOptions options, params ISyringeServiceProviderAfterServiceExtension[] afterServiceExtensions) : this(new MicrosoftServiceProvider(descriptors, options), afterServiceExtensions)
{
<sup><a href='#snippet-D:\RonSijm\RonSijm.Syringe\src\Lib\RonSijm.Syringe.Lib\Features\Resolving\SyringeServiceProvider.cs' title='Start of snippet'>anchor</a></sup>
<a id='snippet-D:\RonSijm\RonSijm.Syringe\src\Lib\RonSijm.Syringe.Lib\Features\Resolving\SyringeServiceProvider.cs'></a>
public object GetServiceWithoutExtensions(Type serviceType)
{
var service = _innerProvider.GetService(serviceType);
return service;
}
<sup><a href='#snippet-D:\RonSijm\RonSijm.Syringe\src\Lib\RonSijm.Syringe.Lib\Features\Resolving\SyringeServiceProvider.cs' title='Start of snippet'>anchor</a></sup>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- RonSijm.Syringe.Lib (>= 0.2.0)
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.2)
- Microsoft.Extensions.Configuration.Json (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2)
- RonSijm.Syringe.Lib (>= 0.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RonSijm.Syringe:
Package | Downloads |
---|---|
RonSijm.Blazyload
A C# Blazor library to effortlessly implement Lazy Loading and Dependency Injection |
GitHub repositories
This package is not used by any popular GitHub repositories.