Myth.DependencyInjection 3.0.1

dotnet add package Myth.DependencyInjection --version 3.0.1
                    
NuGet\Install-Package Myth.DependencyInjection -Version 3.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Myth.DependencyInjection" Version="3.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Myth.DependencyInjection" Version="3.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Myth.DependencyInjection" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Myth.DependencyInjection --version 3.0.1
                    
#r "nuget: Myth.DependencyInjection, 3.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Myth.DependencyInjection&version=3.0.1
                    
Install Myth.DependencyInjection as a Cake Addin
#tool nuget:?package=Myth.DependencyInjection&version=3.0.1
                    
Install Myth.DependencyInjection as a Cake Tool

Myth.DependencyInjection

NuGet Version NuGet Version

License

pt-br en

It is a .NET library for working with dependency injection, types and assemblies.

⭐ Features

  • Loading application assemblies
  • Find application types
  • Find types from an interface
  • Inject services from an interface automatically

🔮 Usage

To inject all types that implement an interface use the following code.

services.AddServiceFromType<IMyInterface>();

To use application-defined types or assemblies, use the type provider:

TypeProvider.ApplicationAssemblies // Shows all application assemblies
TypeProvider.ApplicationTypes // Shows all application types
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Myth.DependencyInjection:

Package Downloads
Harpy.IoC

Basis for the ioc layer of the Harpy Framework

Myth.DependencyInjection.Providers

It is a .NET library to perform dependency injection for pre-configured third-party libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 149 a month ago
3.0.1-preview.2 120 a month ago
3.0.1-preview.1 64 2 months ago
3.0.0.2-preview 88 4 months ago
3.0.0.1-preview 124 9 months ago
3.0.0 104 4 months ago
3.0.0-preview 107 9 months ago
2.0.0.16 234 12/15/2023
2.0.0.15 131 12/15/2023
2.0.0.11 1,199 8/11/2022
2.0.0.10 1,167 7/20/2022
2.0.0.9 1,223 7/15/2022
2.0.0.8 1,205 7/12/2022
2.0.0.7 1,252 6/20/2022
2.0.0.6 1,291 5/23/2022
2.0.0.5 1,279 5/18/2022