Nhl.Api.Extensions.Microsoft.DependencyInjection
1.4.0
The Nhl.Api NuGet package was deprecated for versions below 3.0.0 due to REST endpoint changes, please update to v3.0.0
See the version list below for details.
dotnet add package Nhl.Api.Extensions.Microsoft.DependencyInjection --version 1.4.0
NuGet\Install-Package Nhl.Api.Extensions.Microsoft.DependencyInjection -Version 1.4.0
<PackageReference Include="Nhl.Api.Extensions.Microsoft.DependencyInjection" Version="1.4.0" />
paket add Nhl.Api.Extensions.Microsoft.DependencyInjection --version 1.4.0
#r "nuget: Nhl.Api.Extensions.Microsoft.DependencyInjection, 1.4.0"
// Install Nhl.Api.Extensions.Microsoft.DependencyInjection as a Cake Addin #addin nuget:?package=Nhl.Api.Extensions.Microsoft.DependencyInjection&version=1.4.0 // Install Nhl.Api.Extensions.Microsoft.DependencyInjection as a Cake Tool #tool nuget:?package=Nhl.Api.Extensions.Microsoft.DependencyInjection&version=1.4.0
Nhl.Api.Extensions.Microsoft.DependencyInjection 🧑💻
The Microsoft .NET dependency injection library extension for the official unofficial .NET NHL API 🏒
An extension for the Nhl.Api to easily add the Nhl.Api library to any .NET project using the built in .NET dependency injection library
Installing Nhl.Api.Extensions.Microsoft.DependencyInjection 💭
You should install Nhl.Api.Extensions.Microsoft.DependencyInjection with NuGet:
Install-Package Nhl.Api.Extensions.Microsoft.DependencyInjection
Or via the .NET Core command line interface:
dotnet add package Nhl.Api.Extensions.Microsoft.DependencyInjection
Implementation 🚀
Using and implementing the Nhl.Api dependency injection extension is as simple as one line on C# code ⌨️
builder.Services.AddNhlApi();
You can also use a method parameter to specify the type of dependency life time
Transient (Default)
builder.Services.AddNhlApi(serviceLifetime: ServiceLifetime.Transient);
Singleton
builder.Services.AddNhlApi(serviceLifetime: ServiceLifetime.Singleton);
Scoped
builder.Services.AddNhlApi(serviceLifetime: ServiceLifetime.Scoped);
Bugs 🐛
If you have any issues with the library or suggestions, please feel free to create an issue and it will be adressed as soon as possible 😃
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.0.0)
- Nhl.Api (>= 1.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
3.6.1 | 29 | 11/25/2024 | |
3.6.0 | 180 | 11/5/2024 | |
3.5.0 | 471 | 10/2/2024 | |
3.4.2 | 464 | 8/9/2024 | |
3.4.1 | 124 | 3/28/2024 | |
3.4.0 | 129 | 3/8/2024 | |
3.3.0 | 100 | 2/24/2024 | |
3.2.2 | 122 | 2/9/2024 | |
3.2.1 | 126 | 1/30/2024 | |
3.2.0 | 110 | 1/24/2024 | |
3.1.0 | 162 | 1/5/2024 | |
3.0.0 | 167 | 12/31/2023 | |
2.2.1 | 2,563 | 10/9/2023 | |
2.2.0 | 4,546 | 9/10/2023 | |
2.1.0 | 13,614 | 10/18/2022 | |
2.0.0 | 1,350 | 7/28/2022 | |
1.9.2 | 468 | 3/17/2022 | |
1.9.1 | 446 | 2/20/2022 | |
1.9.0 | 453 | 1/28/2022 | |
1.8.0 | 279 | 12/30/2021 | |
1.7.0 | 292 | 12/21/2021 | |
1.6.1 | 426 | 12/12/2021 | |
1.6.0 | 523 | 12/11/2021 | |
1.5.1 | 1,946 | 11/26/2021 | |
1.5.0 | 1,819 | 11/26/2021 | |
1.4.0 | 324 | 11/15/2021 | |
1.3.0 | 308 | 11/14/2021 |