Skip to content

Fancy11111/BasicDINET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic dependency injection framework for .NET Core

This is a prototype for a DI Framework (+ Service Locator kinda).

Big Inspiration from ASP.NET Core's DI with Services

Please don't use this POS (Piece of Software) in production, many flaws

Features

  • Register services and retrieve Instances
  • Dependencies of services are resolved (if dependency is registered aswell)
  • Registering with Initializer Delegates
  • Working with Generic Services
  • Singletons
  • Caches (kind of)

TODO

  • Singletons
  • Generics
  • Caching (one "real" instantiation, then deep copies)
  • reflection caching
  • Detect Circular references (lol)

About

a small proof-of-concept on DI frameworks in C#

Resources

Stars

Watchers

Forks

Languages