CliRunner.Extensions.DependencyInjection
1.0.0-preview.2
CliRunner.Extensions.DependencyInjection has been moved to CliRunner.Extensions.
dotnet add package CliRunner.Extensions.DependencyInjection --version 1.0.0-preview.2
NuGet\Install-Package CliRunner.Extensions.DependencyInjection -Version 1.0.0-preview.2
<PackageReference Include="CliRunner.Extensions.DependencyInjection" Version="1.0.0-preview.2" />
<PackageVersion Include="CliRunner.Extensions.DependencyInjection" Version="1.0.0-preview.2" />
<PackageReference Include="CliRunner.Extensions.DependencyInjection" />
paket add CliRunner.Extensions.DependencyInjection --version 1.0.0-preview.2
#r "nuget: CliRunner.Extensions.DependencyInjection, 1.0.0-preview.2"
#:package CliRunner.Extensions.DependencyInjection@1.0.0-preview.2
#addin nuget:?package=CliRunner.Extensions.DependencyInjection&version=1.0.0-preview.2&prerelease
#tool nuget:?package=CliRunner.Extensions.DependencyInjection&version=1.0.0-preview.2&prerelease
CliRunner.Extensions.DependencyInjection
This readme covers the CliRunner Dependency Injections package. Looking for the CliRunner Readme?
This package adds a AddCliRunner Dependency Injection extension method to enable easy CliRunner setup when using the Microsoft.Extensions.DependencyInjection package.
Usage
CliRunner.Extensions.DependencyInjection provides an extension method to make it easier to use CliRunner with Microsoft.Extensions.DependencyInjection.
The AddCliRunner IServiceCollection extension method adds CliRunner's interface-able services.
The services injected includes:
IFilePathResolverICommandRunnerIProcessPipeHandlerIProcessCreatorIPipedProcessRunnerIProcessRunnerIProcessRunnerUtility
Why a separate package?
There's a few different reasons:
- Not everybody necessarily uses Microsoft's Dependency Injection packages.
- Helps de-couple the Dependency Injection extension functionality from the main library
Licensing
CliRunner.Extensions.DependencyInjection is licensed under the MPL 2.0 license. If you modify any of the package's files then the modified files must be licensed under the MPL 2.0 .
If you use this package in your project please make an exact copy of the contents of the LICENSE.txt file available either in your third party licenses txt file or as a separate txt file.
Assets
CliRunner's Icon is NOT licensed under the MPL 2.0 license and are licensed under Copyright with all rights reserved to me (Alastair Lundy).
If you fork CliRunner and re-distribute it, please replace the usage of the icon unless you have prior written agreements from me.
Acknowledgements
This project would like to thank the following projects for their work:
- Microsoft.Extensions.DependencyInjection.Abstractions for providing Dependency Injection Abstractions for .NET .
For more information, please see the THIRD_PARTY_NOTICES file.
| 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 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 is compatible. |
| .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
- CliRunner (>= 1.0.0-beta.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2 && < 10.0.0)
-
.NETStandard 2.1
- CliRunner (>= 1.0.0-beta.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2 && < 10.0.0)
-
net8.0
- CliRunner (>= 1.0.0-beta.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2 && < 10.0.0)
-
net9.0
- CliRunner (>= 1.0.0-beta.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.2 && < 10.0.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 |
|---|
Updated code to support CliRunner 1.0.0 Beta 2