Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.78 KB

File metadata and controls

45 lines (28 loc) · 1.78 KB

UoN.VersionInformation.DependencyInjection

Build Status NuGet Badge MIT License Badge

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.Abstractions 8.x.

Building from source

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.

Contributing

If there are issues open, please feel free to make pull requests for them, and they will be reviewed.