Commit Graph

10 Commits

Author SHA1 Message Date
Antony Male 9f7b596a5e Throw a better exception than an NRE if they forget to call builder.Bind(..).To(..)
Fixes #114
2020-04-23 17:58:28 +01:00
Antony Male bc068f8b27 Make namespace of StyletIoC unit tests consistent 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 5f77356584 Disable some binding checks for factories and instances 2014-09-12 14:04:46 +01:00
Antony Male ac58ef8bde Allow StyletIoC to accept other scopes 2014-08-27 19:15:21 +01: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 77f1804724 Improve some error messages given by StyletIoC 2014-05-03 10:39:41 +01: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