UoN.VersionInformation.DependencyInjection
1.0.0
`IServiceCollection` extensions for using `UoN.VersionInformation` with .NET Core Dependency Injection.
Install-Package UoN.VersionInformation.DependencyInjection -Version 1.0.0
dotnet add package UoN.VersionInformation.DependencyInjection --version 1.0.0
<PackageReference Include="UoN.VersionInformation.DependencyInjection" Version="1.0.0" />
paket add UoN.VersionInformation.DependencyInjection --version 1.0.0
UoN.VersionInformation.DependencyInjection
What is it?
IServiceCollection
extensions for using UoN.VersionInformation with .NET Core Dependency Injecton.
What are its features?
IServiceCollection Extensions
The package provides 3 extension methods which add a VersionInformationService
to an IServiceCollection
.
- One without options
- Two that take options either as an object or a delegate.
Refer to the sample application for example usage.
Dependencies
The library targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection
2.0.0.
Building from source
We recommend building with the dotnet
cli, but since the package targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection
2.0.0, you should be able to build it in any tooling that supports those requirements.
- Have the .NET Core SDK
dotnet build
- Optionally
dotnet pack
- Reference the resulting assembly, or NuGet package.
Contributing
If there are issues open, please feel free to make pull requests for them, and they will be reviewed.
UoN.VersionInformation.DependencyInjection
What is it?
IServiceCollection
extensions for using UoN.VersionInformation with .NET Core Dependency Injecton.
What are its features?
IServiceCollection Extensions
The package provides 3 extension methods which add a VersionInformationService
to an IServiceCollection
.
- One without options
- Two that take options either as an object or a delegate.
Refer to the sample application for example usage.
Dependencies
The library targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection
2.0.0.
Building from source
We recommend building with the dotnet
cli, but since the package targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection
2.0.0, you should be able to build it in any tooling that supports those requirements.
- Have the .NET Core SDK
dotnet build
- Optionally
dotnet pack
- Reference the resulting assembly, or NuGet package.
Contributing
If there are issues open, please feel free to make pull requests for them, and they will be reviewed.
Release Notes
First release.
Dependencies
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0)
- UoN.VersionInformation (>= 1.0.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,061 | 5/2/2018 |