Konstruktor2, a constructor dependency injector for .NET.
C# Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Konstruktor2.Tests
Konstruktor2
.gitignore
Konstruktor2.sln
LICENSE.TXT
Makefile
README.md

README.md

Konstruktor is a constructor dependency injector for .NET.

Konstruktor features:

  • Constructor injection
  • Open generic interfaces and generators
  • Automatic factory generation and injection via Func<> and Func<,>, and to manage the ownership of generated objects, Func<Owned<>>
  • Automatic lifetime management by supporting IDisposable
  • Hierarchical lifetime scoping
  • Thread-safe
  • Specification of default implementations by attributes.

Konstruktor does not support:

  • field / property injection (though it can be done by specifying generator methods).
  • XML configuration

For more information and some documentation snippets, take a look at the unit tests or check out my blog.