Commit Graph

26 Commits

Author SHA1 Message Date
Antony Male 6ee8927137 Stitch EventAggregator into bootstrapper 2014-02-25 13:21:26 +00:00
Antony Male f41645ab89 Finish EventAggregator, and start writing tests 2014-02-25 13:12:34 +00:00
Antony Male b4aecbab9a Start work on the README 2014-02-20 14:45:28 +00:00
Antony Male 0bcc6d192d Documentation, bug-fixes, tests... 2014-02-20 13:23:28 +00: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
Antony Male 374f5d9049 Fix parameter injection 2014-02-18 12:26:08 +00:00
Antony Male c7ea379071 Working towards IInjectionAware, but for some reason test case isn't being injected at all... 2014-02-18 08:27:14 +00:00
Antony Male 9a18af55c9 Fix BuildUp, and add unit tests 2014-02-17 17:51:39 +00:00
Antony Male 3639289b93 Add dyanamic factory implementation, with Bind(...).ToAbstractFactory() syntax 2014-02-17 12:47:29 +00:00
Antony Male 931950c2fb Finish off TypeKeys (at least, the unit tests pass...)
Required moving back to the old way of specifying keys, but oh well
2014-02-16 13:39:30 +00:00
Antony Male d001d56973 The option to associate a key with a binding is now given by Bind...To...WithKey(key) 2014-02-14 12:45:58 +00:00
Antony Male 07469bbf3a Add a ton more tests, and fix a bug or two 2014-02-13 21:55:30 +00:00
Antony Male eb163586cc Couple more ctor injection unit tests 2014-02-13 17:43:23 +00:00
Antony Male e71a1f0dc7 Fix a corner-case with unbound generic registrations 2014-02-13 13:34:26 +00:00
Antony Male 0005e2b194 More work on unit tests 2014-02-12 17:45:15 +00:00
Antony Male cf9f0857a9 Start writing StyletIoC unit tests in earnest 2014-02-11 21:55:11 +00:00
Antony Male 652bd6d82b Finish implementing non-generic binding methods 2014-02-11 12:34:01 +00:00
Antony Male 44deff3ac8 Remove restriction on calling Compile() 2014-02-09 18:19:24 +00:00
Antony Male 6592efead9 Remove Reset behaviour - it was doomed to failure concerning singletons 2014-02-08 20:14:54 +00:00
Antony Male f6de487292 Start writing proper unit tests 2014-02-08 17:27:54 +00:00
Antony Male e1c2aa782d Finish up auto-binding 2014-02-08 16:47:11 +00:00
Antony Male 6c0c33d51d Lots of work on StyletIoC 2014-02-08 15:50:53 +00:00
Antony Male f3a5e8a584 Work implementating IoC container.
Still in the proof-of-concept stages, but working out quite well
2014-02-07 13:21:27 +00:00
Antony Male fee276b7a9 Add unit test suite, and start writing tests 2014-02-06 13:23:28 +00:00