IServiceCollection
extensions for using UoN.VersionInformation with .NET Core Dependency Injecton.
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.
The library targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection.Abstractions
8.x
.
We recommend building with the dotnet
cli, but since the package targets netstandard2.0
and depends on Microsoft.Extensions.DependencyInjection.Abstractions
8.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.
If there are issues open, please feel free to make pull requests for them, and they will be reviewed.