Build.DependencyInjection 1.0.0.19

.NET Core 2.1 Dependency Injection framework

Install-Package Build.DependencyInjection -Version 1.0.0.19
dotnet add package Build.DependencyInjection --version 1.0.0.19
paket add Build.DependencyInjection --version 1.0.0.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Welcome to the build wiki!

.NET Core 2.1 Dependency Injection framework

build-core MyGet Build Status VSTS CircleCI Build status Amazon AWS Travis CI CodeFactor

Maintainability

build build build build build Coverage Status

Community

Welcome to #build #slack

CodeFactor NuGet version NuGet version NuGet downloads NuGet downloads Discord

Channels

#slack

Repository

build

Docs

v1.0.0.19

  • Added API functions
  • All CreateInstance, GetInstance, RegisterType now have the same semantics
  • Exposed public Container API to IContainer
Container.CreateInstance(string)
Container.CreateInstance(string, object[])
Container.CreateInstance(string, string[])
Container.CreateInstance(string, System.Type[])
Container.CreateInstance(System.Type) 
Container.CreateInstance(System.Type, object[])
Container.CreateInstance(System.Type, string[])
Container.CreateInstance(System.Type, System.Type[])
Container.CreateInstance<T>() 
Container.CreateInstance<T>(object[]) 
Container.CreateInstance<T>(string[]) 
Container.CreateInstance<T>(System.Type[])
Container.GetInstance(string) 
Container.GetInstance(string, object[]) 
Container.GetInstance(string, string[]) 
Container.GetInstance(string, System.Type[])
Container.GetInstance(System.Type)
Container.GetInstance(System.Type, object[])
Container.GetInstance(System.Type, string[])
Container.GetInstance(System.Type, System.Type[])
Container.RegisterType(string) 
Container.RegisterType(string, object[]) 
Container.RegisterType(string, string[]) 
Container.RegisterType(string, System.Type[])
Container.RegisterType(System.Type) 
Container.RegisterType(System.Type, object[]) 
Container.RegisterType(System.Type, string[]) 
Container.RegisterType(System.Type, System.Type[]) 
Container.RegisterType<T>()
Container.RegisterType<T>(object[])
Container.RegisterType<T>(string[])
Container.RegisterType<T>(System.Type[])

Features

  • Declarative metadata attribute driven initialization
  • Lazy type resolution and initialization (supports pure dependency decoupling anti-pattern)
  • Circular references detection
  • Singleton initialization
  • Automated and manual type registration
  • Type aliases
  • External assembly types

Goal

The goal of development of this framework is to build automation of complex types initialization.
Build can use declarative approach to define dependencies between types and their requirements.
Constructor injection uses type resolution to resolve devendencies

Continious Integration

CircleCI
TravisCI

Academic papers:

Dependency Injection for Programming by Optimization, Zoltan A. Kocsis and Jerry Swan

  1. School of Mathematics, University of Manchester,
    Oxford Road, Manchester M13 9PL, UK.
    zoltan.kocsis@postgrad.manchester.ac.uk
  2. Computer Science, University of York,
    Deramore Lane, York, YO10 5GH, UK.

Links

Donate

Support via PayPal

Please, feel free to donate me 5$ to expand project development (wiki, samples, etc.)

Welcome to the build wiki!

.NET Core 2.1 Dependency Injection framework

build-core MyGet Build Status VSTS CircleCI Build status Amazon AWS Travis CI CodeFactor

Maintainability

build build build build build Coverage Status

Community

Welcome to #build #slack

CodeFactor NuGet version NuGet version NuGet downloads NuGet downloads Discord

Channels

#slack

Repository

build

Docs

v1.0.0.19

  • Added API functions
  • All CreateInstance, GetInstance, RegisterType now have the same semantics
  • Exposed public Container API to IContainer
Container.CreateInstance(string)
Container.CreateInstance(string, object[])
Container.CreateInstance(string, string[])
Container.CreateInstance(string, System.Type[])
Container.CreateInstance(System.Type) 
Container.CreateInstance(System.Type, object[])
Container.CreateInstance(System.Type, string[])
Container.CreateInstance(System.Type, System.Type[])
Container.CreateInstance<T>() 
Container.CreateInstance<T>(object[]) 
Container.CreateInstance<T>(string[]) 
Container.CreateInstance<T>(System.Type[])
Container.GetInstance(string) 
Container.GetInstance(string, object[]) 
Container.GetInstance(string, string[]) 
Container.GetInstance(string, System.Type[])
Container.GetInstance(System.Type)
Container.GetInstance(System.Type, object[])
Container.GetInstance(System.Type, string[])
Container.GetInstance(System.Type, System.Type[])
Container.RegisterType(string) 
Container.RegisterType(string, object[]) 
Container.RegisterType(string, string[]) 
Container.RegisterType(string, System.Type[])
Container.RegisterType(System.Type) 
Container.RegisterType(System.Type, object[]) 
Container.RegisterType(System.Type, string[]) 
Container.RegisterType(System.Type, System.Type[]) 
Container.RegisterType<T>()
Container.RegisterType<T>(object[])
Container.RegisterType<T>(string[])
Container.RegisterType<T>(System.Type[])

Features

  • Declarative metadata attribute driven initialization
  • Lazy type resolution and initialization (supports pure dependency decoupling anti-pattern)
  • Circular references detection
  • Singleton initialization
  • Automated and manual type registration
  • Type aliases
  • External assembly types

Goal

The goal of development of this framework is to build automation of complex types initialization.
Build can use declarative approach to define dependencies between types and their requirements.
Constructor injection uses type resolution to resolve devendencies

Continious Integration

CircleCI
TravisCI

Academic papers:

Dependency Injection for Programming by Optimization, Zoltan A. Kocsis and Jerry Swan

  1. School of Mathematics, University of Manchester,
    Oxford Road, Manchester M13 9PL, UK.
    zoltan.kocsis@postgrad.manchester.ac.uk
  2. Computer Science, University of York,
    Deramore Lane, York, YO10 5GH, UK.

Links

Donate

Support via PayPal

Please, feel free to donate me 5$ to expand project development (wiki, samples, etc.)

Release Notes

Features:
     - Added API functions
     - All CreateInstance, GetInstance, RegisterType now have the same semantics
     - Exposed public Container API to IContainer

Container.CreateInstance(string)
Container.CreateInstance(string, object[])
Container.CreateInstance(string, string[])
Container.CreateInstance(string, System.Type[])

Container.CreateInstance(System.Type)
Container.CreateInstance(System.Type, object[])
Container.CreateInstance(System.Type, string[])
Container.CreateInstance(System.Type, System.Type[])

Container.CreateInstance<T>()
Container.CreateInstance<T>(object[])
Container.CreateInstance<T>(string[])
Container.CreateInstance<T>(System.Type[])

Container.GetInstance(string)
Container.GetInstance(string, object[])
Container.GetInstance(string, string[])
Container.GetInstance(string, System.Type[])

Container.GetInstance(System.Type)
Container.GetInstance(System.Type, object[])
Container.GetInstance(System.Type, string[])
Container.GetInstance(System.Type, System.Type[])

Container.RegisterType(string)
Container.RegisterType(string, object[])
Container.RegisterType(string, string[])
Container.RegisterType(string, System.Type[])

Container.RegisterType(System.Type)
Container.RegisterType(System.Type, object[])
Container.RegisterType(System.Type, string[])
Container.RegisterType(System.Type, System.Type[])

Container.RegisterType<T>()
Container.RegisterType<T>(object[])
Container.RegisterType<T>(string[])
Container.RegisterType<T>(System.Type[])

  • .NETCoreApp 2.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.0.19 (current) 47 7/15/2018
1.0.0.18 45 7/11/2018
1.0.0.17 47 7/11/2018
1.0.0.16 36 7/2/2018
1.0.0.15 117 6/23/2018