Fabric-Container
1.0.1.5
dotnet add package Fabric-Container --version 1.0.1.5
NuGet\Install-Package Fabric-Container -Version 1.0.1.5
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="Fabric-Container" Version="1.0.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fabric-Container --version 1.0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fabric-Container, 1.0.1.5"
#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.
// Install Fabric-Container as a Cake Addin #addin nuget:?package=Fabric-Container&version=1.0.1.5 // Install Fabric-Container as a Cake Tool #tool nuget:?package=Fabric-Container&version=1.0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
What is Fabric
Fabric is the equivalent for the Unity Container from Microsoft and aims to provide a full-fledged dependency injection container.
Interface-Injection and Registration
Registrations
Register
-RegisterTransient
-RegisterPerThread
-RegisterSingleton
-RegisterInstance
-RegisterFactory
-
Calls and Interface-Resolvers
Resolve
-ResolveCallback
-Create
-CreateCallback
-Call
-CallCallback
-Convert
-
Examples
FabricContainer root = FabricContainer.Root;
FabricContainer container = root.Create();
container.RegisterTransient<ITest, Test1>();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fabric-Container:
Package | Downloads |
---|---|
Architect-Lib
Package Description |
|
fabric-serialization
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1.5 | 847 | 7/19/2022 |
1.0.1.3 | 845 | 7/15/2022 |
1.0.1.2 | 825 | 7/15/2022 |
1.0.1.1 | 803 | 7/15/2022 |
0.0.0.1-alpha | 542 | 7/7/2022 |