Commit Graph

9 Commits

Author SHA1 Message Date
Antony Male bc068f8b27 Make namespace of StyletIoC unit tests consistent 2020-04-23 17:52:45 +01:00
Antony Male f946b8b9ac Support building abstract factories for two interfaces with the same name
Fixes #123
2020-04-23 17:52:45 +01:00
Antony Male fc7f164c53 Remove unnecessary usings in unit tests 2015-09-23 21:46:36 +01:00
Antony Male 9ab3655c5f Improve test coverage slightly 2015-02-19 22:17:30 +00:00
Antony Male fe377e3955 Provide a decent error if unbound generic type used as an abstract factory, and fill in more coverage 2014-05-07 16:22:51 +01:00
Antony Male 6d3a222249 Fix StyletIoC bug w/ singleton unbound generics, and improve coverage further 2014-05-07 16:11:15 +01:00
Antony Male c7d24a75df Allow [Inject] attribute on abstract factory methods to specify key to be injected 2014-02-20 12:39:31 +00:00
Antony Male 3e09ba7e8c Move to a builder/container split
This allows proper fluent syntax to be used, e.g.
    builder.Bind(..).To(..).WithKey(..).InSingletonScope()
as well as making it clear that they can't modify the container after
it's been created. Also means less documentation duplication between
interface and implementation...

Documentation needs fixing, and the exceptions will need looking at to
make sure they still give enough information.
2014-02-19 22:13:00 +00:00
Antony Male a73a5f65d9 Reflector StyletIoC into multiple implementation files 2014-02-18 13:15:24 +00:00