GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Suremaker/Spring.FluentContext: Allows creating Spring.NET IoC container from code using fluent way

BranchesTags
Open more actions menu

Latest commit

 

History

113 Commits
113 Commits

Folders and files

NameName
Last commit message
Last commit date
Spring.FluentContext.Examples
Spring.FluentContext.Examples
 
 
Spring.FluentContext.UnitTests
Spring.FluentContext.UnitTests
 
 
Spring.FluentContext
Spring.FluentContext
 
 
.gitignore
.gitignore
 
 
Changelog.txt
Changelog.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
Spring.FluentContext.sln
Spring.FluentContext.sln
 
 
appveyor.yml
appveyor.yml
 
 

Repository files navigation

Spring.FluentContext

Allows creating Spring.NET IoC container from code using fluent API:

  • without XML
  • without literals (while it is also possible to use them)
  • without any static classes or objects (it is possible to create as many contexts as are needed)
  • with type-safe injections
  • with possibility to integrate with other contexts (like XML ones) using hierarchical context construction

Badges

Build: Build status

Spring.FluentContext: NuGet Badge

Download

It is possible to download package using NuGet: PM> Install-Package Spring.FluentContext

or compile from sources available on Git: git clone git://github.com/Suremaker/Spring.FluentContext.git

Documentation and examples

  • The project documentation is available on Wiki page.
  • Solution contains also Spring.FluentContext.Examples project presenting usage of major features.
  • All implemented features contains unit tests which shows also how to use them.

Implemented API Features

  • Registration of objects:
    • with specified id
    • with default id
    • with unique id (automatically generated)
    • as singleton / prototype
  • Registration of existing singleton instances with specified, default or unique id
  • Registration of AOP Proxy Factories for given interface:
    • support for multiple interceptors addition
    • support for type-safe targeting
    • support for defining if factory supposed to create proxies as singleton or prototype
  • Object instantiation using:
    • selected or matching constructor
    • static factory method
    • factory object
  • Constructor injection:
    • with constants
    • with registered objects
    • with inline object definition
    • with collections (if it is applicable to constructor parameter type)
  • Static factory method / factory object parameters injection:
    • with constants
    • with registered objects
    • with inline object definition
    • with collections (if it is applicable to constructor parameter type)
  • Setter injection:
    • with constants
    • with registered objects
    • with inline object definition
    • with collections (if it is applicable to property type)
  • Lookup Method injection with registered objects
  • Collection injection (array/list/dictionary) with possibility to mix values, object references and inline object definitions
  • Dependency injection via property value of other registered object
  • Autowiring
  • Aliasing
  • Indirect dependencies creation (allowing to specify order of objects creation / destruction)
  • Init / Destroy method call specification
  • Dependency check
  • Type-safe, literal-less references

Not Implemented Features

  • lazy and non-lazy initialization (now everything is initialized lazily)

Limitations

  • it is not possible to use lambda expressions to point protected methods or properties with non-public getters, that is why API allows also to use literals.

About

Allows creating Spring.NET IoC container from code using fluent way

Resources

Readme
License
Activity

Stars

3 stars

Watchers

3 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.