kangaru - A dependency injection container for C++11, C++14 and later

  •        7

Our goal is to create a DI container capable of automatic, recusive dependency injection. We also want to do most diagnostics at compile time, while keeping the simplest interface possible. On top of that, we don't want to be intrusive into user/library code. Kangaru is a header only library because of it's extensive use of templates. The name kangaru comes from the container's feature to inject itself into a service as a dependency, and because kangaroos are awesome.

https://github.com/gracicot/kangaru

Tags
Implementation
License
Platform

   




Related Projects

InversifyJS - A powerful and lightweight inversion of control container for JavaScript & Node

  •    TypeScript

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript. InversifyJS is a lightweight (4KB) inversion of control (IoC) container for TypeScript and JavaScript apps. An IoC container uses a class constructor to identify and inject its dependencies. InversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices.

Swinject - Dependency injection framework for Swift with iOS/macOS/Linux

  •    Swift

Swinject is a lightweight dependency injection framework for Swift. Dependency injection (DI) is a software design pattern that implements Inversion of Control (IoC) for resolving dependencies. In the pattern, Swinject helps your app split into loosely-coupled components, which can be developed, tested and maintained more easily. Swinject is powered by the Swift generic type system and first class functions to define dependencies of your app simply and fluently.

HK2 - A light-weight and dynamic dependency injection framework

  •    Java

HK2 is a light-weight and dynamic dependency injection framework. HK2 is an implementation of JSR-330 in a JavaSE environment. JSR-330 defines services and injection points that can be dynamically discovered at runtime and which allow for Inversion of Control (IoC) and dependency injection (DI).

StructureMap - A Dependency Injection/Inversion of Control tool for .NET

  •    CSharp

StructureMap is a feature rich IoC tool with support for interception, object lifecycles and intelligent disposal patterns, open generic types, modular registrations, conventional registration, custom policies, and all the injection pattern support you would expect in a modern .Net IoC container.

Dependency Injection Service Provider (DISP)

  •    

Dependency Injection Service Provider (DISP) is a wrapper or an interface that aim to allow .NET developers use one of the inversion of control (IoC) containers out there such as StructureMap or Ninject from a high level of abstraction, using the same interface and classes wi...


Typhoon - Powerful dependency injection for iOS & OSX (Objective-C & Swift)

  •    Objective-C

Powerful dependency injection for Cocoa and CocoaTouch. Lightweight, yet full-featured and super-easy to use. Visit the Typhoon website for an introduction. There's also a nice intro over at Big Nerd Ranch, or here's an article, by John Reid. Quite a few books have been written on the topic, though we're not familiar with one that focuses specifically on Objective-C, Swift or Cocoa yet.

Portable IoC

  •    DotNet

Portable IOC is a tiny thread-safe Inversion of Control container that is portable between Windows Phone, Windows Store (Windows 8), Silverlight, and .NET apps.

Autofac - An addictive .NET IoC container

  •    CSharp

Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. This is achieved by treating regular .NET classes as components.You can get Autofac by grabbing the latest NuGet packages. If you're feeling adventurous, continuous integration builds are on MyGet.

OpenNETCF.IoC Framework

  •    

A lightweight managed IoC (Inversion of Control) and DI (Dependency Injection) framework designed for the .NET .Compact Framework but the full framework is supported as well. It supports Registration, construction and even event aggregation in a tiny and wicked fast package. ...

Mugen Injection

  •    CSharp

A lightweight and fast managed IoC (Inversion of Control) and DI (Dependency Injection) with support for constructor, property, field, and method call injection

Windsor - Inversion of Control container available for .NET

  •    CSharp

Castle Windsor is best of breed, mature Inversion of Control container available for .NET and Silverlight

IoCWrap

  •    

Provides a wrapper to the various IoC container implementations so that it is possible to switch to a different provider without changing any application code.

awilix - Extremely powerful Inversion of Control (IoC) container for Node.JS

  •    TypeScript

That example is rather lengthy, but if you extract things to their proper files it becomes more manageable.

LogikBug's IoC Container

  •    DotNet

LogikBug's IoC dependency injection container is very light weight. Finding a dependency injection container to suite my needs seemed rather cumbersome. So, I wrote this DI Container to suite my needs. There are many ways to register types, including scanning assemblies...

Dagger 2 - Compile-time dependency injection framework for both Java and Android

  •    Java

Dagger is a fully static, compile-time dependency injection framework for both Java and Android. It is an adaptation of an earlier version created by Square and now maintained by Google. It eliminates all reflection, and improves code clarity by removing the traditional ObjectGraph/Injector in favor of user-specified @Component interfaces.

Guice - Lightweight Dependency Injection Framework for Java

  •    Java

Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 6 and above, brought to you by Google. Guice alleviates the need for factories and the use of new in your Java code. Think of Guice's @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts.

feather - Lightweight dependency injection for Java and Android (JSR-330)

  •    Java

Feather is an ultra-lightweight dependency injection (JSR-330) library for Java and Android.

Radar IoC container

  •    

Very simple, fast and easy to use IoC container. Don't have any dependencies on external libraries - just pure .NET 4 Client Profile. Minimal size (~18kB in release build) makes it suitable to use in any project type.

AppServices - lightweight framework for IOC and Dependency Injection in SOA

  •    

AppServices is a lightweight service container which can inject services into other objects, visual controls or components. It works with .NET Full, .NET Compact and Silverlight (included WP7). It manages automatically the service dependency. Its advantage is declarative confi...