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.0 | 121 | 11/5/2024 | |
3.5.0 | 467 | 10/2/2024 | |
3.4.2 | 425 | 8/9/2024 | |
3.4.1 | 123 | 3/28/2024 | |
3.4.0 | 128 | 3/8/2024 | |
3.3.0 | 99 | 2/24/2024 | |
3.2.2 | 121 | 2/9/2024 | |
3.2.1 | 125 | 1/30/2024 | |
3.2.0 | 109 | 1/24/2024 | |
3.1.0 | 161 | 1/5/2024 | |
3.0.0 | 166 | 12/31/2023 | |
2.2.1 | 2,562 | 10/9/2023 | |
2.2.0 | 4,545 | 9/10/2023 | |
2.1.0 | 13,613 | 10/18/2022 | |
2.0.0 | 1,349 | 7/28/2022 | |
1.9.2 | 467 | 3/17/2022 | |
1.9.1 | 445 | 2/20/2022 | |
1.9.0 | 452 | 1/28/2022 | |
1.8.0 | 278 | 12/30/2021 | |
1.7.0 | 291 | 12/21/2021 | |
1.6.1 | 423 | 12/12/2021 | |
1.6.0 | 522 | 12/11/2021 | |
1.5.1 | 1,945 | 11/26/2021 | |
1.5.0 | 1,818 | 11/26/2021 | |
1.4.0 | 323 | 11/15/2021 | |
1.3.0 | 307 | 11/14/2021 |