| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
dI.Hook (pronounced as, du' hʊk) is a light-weight IoC and DI engine to define hooks via code or configuration, call them dynamically or conditionally and dispose them when not required. However, this is not yet another dependency injection framework. It does a lot more than just DI -
dI.Hook creates a controlled repository of hooks instead of searching & instantiating a hook at a time when required
dI.Hook allows lazy-loading the hook objects at run-time, thereby optimizing the memory allocation and performance
dI.Hook allows addition of hooks by both hook-type and live hook instance thereby
dI.Hook allows creating a hierarchy of hooks
dI.Hook promotes both repository based hooks and method based hooks
Hooks can be invoked conditionally using C# Funcs, delegates and Actions
Hooks can be invoked sequentially (as blocking calls) or parallel (in separate threads)
It is called dI.Hook as it uses dependency injection to allow you to create run-time dependencies or hooks.
Simple to learn, well documented, and extremely light-weight.
You can reference dI.Hook using Nuget Download instructions from Nuget.org
| Back | FazBrowse Home | New Git URL |