Info
Version: | 2.0.5 |
Author(s): | Stephen Marcus |
Last Update: | Saturday, July 30, 2022 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Com.MarcusTS.SmartDI |
Install
Install-Package Com.MarcusTS.SmartDI
dotnet add package Com.MarcusTS.SmartDI
paket add Com.MarcusTS.SmartDI
Com.MarcusTS.SmartDI Download (Unzip the "nupkg" after downloading)
Dependencies
- Com.MarcusTS.SharedUtils(>= 1.0.17)
- Xamarin.Forms(>= 4.8.0.1451)
Tags
These sorts of containers are sometimes mis-described as IOC ("Inversion of Control") Containers.
Since they do not provide any control over program flow, the accurate term is DI ("Dependency Injection") Container.
The SmartDI Container is unique in that it:
* Does not store instantiated objects unnecessarily.
* Supports object life-cycle management. When an object dies, it is removed from the container.
This requires you to raise a global message.
* Supports simple register-and-resolve so types do not need to be registered in advance.