All Projects → dazinator → Dazinator.Extensions.DependencyInjection

dazinator / Dazinator.Extensions.DependencyInjection

Licence: other
Useful additions to Microsoft.Extensions.DependencyInjection such as Named Services.

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to Dazinator.Extensions.DependencyInjection

inject
A simple Kotlin multi-platform abstraction around the javax.inject annotations.
Stars: ✭ 42 (+61.54%)
Mutual labels:  dependency-injection
func-dependency-injection-go
Dependency injection example using higher order functions
Stars: ✭ 26 (+0%)
Mutual labels:  dependency-injection
Slice
Slice - a framework which simplifies Sling/AEM development by using dependency injection pattern and mapping Sling resources into Java objects
Stars: ✭ 64 (+146.15%)
Mutual labels:  dependency-injection
linker
Dependency Injection and Inversion of Control package
Stars: ✭ 33 (+26.92%)
Mutual labels:  dependency-injection
redi
💉 A dependency injection library for TypeScript & JavaScript, along with a binding for React.
Stars: ✭ 29 (+11.54%)
Mutual labels:  dependency-injection
vue-ioc
IoC and DI for Vue powered by InversifyJS and inspired by Angular Module syntactic sugar.
Stars: ✭ 39 (+50%)
Mutual labels:  dependency-injection
BESTV
Android TV App powered by TMDb. It is a easy way to find the best TV content, the top movies, series... all of that in your TV.
Stars: ✭ 49 (+88.46%)
Mutual labels:  dependency-injection
vanilla-di-manifesto
We love DI, but we don't use any DI libraries. Why?
Stars: ✭ 108 (+315.38%)
Mutual labels:  dependency-injection
rodi
Implementation of dependency injection for Python 3
Stars: ✭ 42 (+61.54%)
Mutual labels:  dependency-injection
common-injector
Heavily influenced by Angular and it's dependency injection. Inspired by Angular and Indiv.
Stars: ✭ 18 (-30.77%)
Mutual labels:  dependency-injection
async-injector
Reactive dependency injection for Rust.
Stars: ✭ 28 (+7.69%)
Mutual labels:  dependency-injection
sirius-kernel
Provides common core classes and the dependency injection microkernel powering all SIRIUS applications
Stars: ✭ 30 (+15.38%)
Mutual labels:  dependency-injection
ThunderboltIoc
One of the very first IoC frameworks for .Net that has no reflection. An IoC that casts its services before thunder casts its bolts.
Stars: ✭ 40 (+53.85%)
Mutual labels:  dependency-injection
NetteAdapterForSymfonyBundles
[DEPRECATED due to only 20 downloads per 2 years] Read an article about this idea
Stars: ✭ 15 (-42.31%)
Mutual labels:  dependency-injection
Griffin.Container
Inversion of control container with (almost) zero configuration
Stars: ✭ 13 (-50%)
Mutual labels:  dependency-injection
di speed
Speed comparison of Dependency Injection Container
Stars: ✭ 18 (-30.77%)
Mutual labels:  dependency-injection
graphql-server-typed
Using typescript and gql-code-gen for easy graphql setup
Stars: ✭ 32 (+23.08%)
Mutual labels:  dependency-injection
EasyDI
Easy Dependency Injection for Java
Stars: ✭ 46 (+76.92%)
Mutual labels:  dependency-injection
pulp
Scala library for guiceless dependency injection
Stars: ✭ 26 (+0%)
Mutual labels:  dependency-injection
movie-booking
An example for booking movie seat, combined of Android Data Binding, State Design Pattern and Multibinding + Autofactory. iOS version is: https://github.com/lizhiquan/MovieBooking
Stars: ✭ 80 (+207.69%)
Mutual labels:  dependency-injection
Branch DevOps
Master Build Status
Develop Build Status
Package Stable Pre-release
Dazinator.Extensions.DependencyInjection.NamedServices Dazinator.Extensions.DependencyInjection.NamedServices Dazinator.Extensions.DependencyInjection.NamedServices
Dazinator.Extensions.DependencyInjection.ChildContainers Dazinator.Extensions.DependencyInjection.ChildContainers Dazinator.Extensions.DependencyInjection.ChildContainers
Dazinator.Extensions.DependencyInjection.Microsoft Dazinator.Extensions.DependencyInjection.Microsoft Dazinator.Extensions.DependencyInjection.Microsoft

Intro

This repository builds on Microsoft.Extensions.DependencyInjection.Abstractions to provide additional features, which currently are:

  • Named Services
  • Child Containers

It also provides a seperate (and optional) nuget package called Dazinator.Extensions.DependencyInjection.Microsoft which basically contains a copy of the native MS ServiceProvider but with some changes as published here: dotnet/runtime#45497

Named Services

Allows you to register services that can be resolved by name.

For more detailed docs see here

Child Containers

For more detailed docs see here

Allows you to configure "child containers" using the normal IServiceCollection interface. The child service provider can be implemented by your conforming container of choice i.e Autofac, Structuremap, Microsoft DI - any DI package that supports IServiceProvider.

It means, thanks to a standard interface for building / configuring child containers, you can take a DI container library that doesn't have a child container feature, (like I did with Microsofts) and create "child containers" with it! The caveat is that:

- Your DI container of choice must support building a container from an `IServiceCollection` or IEnumerable<ServiceDescriptor>`

If you are interested in that, look at the tests for ChildServiceCollection

For docs, see here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].