Commit Graph

108 Commits

Author SHA1 Message Date
Antony Male 06fa5b646d Move xaml stuff to Xaml folder 2014-03-15 14:11:27 +00:00
Antony Male 907c59acf1 Add documentation to the conductors 2014-03-15 14:09:38 +00:00
Antony Male b279305958 Add tests for Conductor.Collections.AllActive 2014-03-15 13:50:17 +00:00
Antony Male e68fbb12cc Remove the cache of factories
It would only have been hit if someone did .ToAbstractFactory() on the same
type, twice, which would have caused a multiple registrations error further
down the line, anyway
2014-03-15 11:20:10 +00:00
Antony Male 9e3c13cede Get rid of the whole WasAutoCreated thing
The builder now has a concept of a weak binding, which can be replaced by
the builder.

Compile() now either throws for any error, or ignores all error, regardless
of how that type was registered.
2014-03-15 11:11:43 +00:00
Antony Male d4e563efab Very early start on ConducotOneActiveTests 2014-03-13 13:22:52 +00:00
Antony Male 9a3a8ba4f6 Finish up unit tests for Conductor 2014-03-13 13:05:12 +00:00
Antony Male 7ef6d6521a Start writing unit tests for Conductor 2014-03-12 22:01:59 +00:00
Antony Male e4f80348f9 Remove BootstrapperBase tests, as I'm having lots of problems running an Application inside a unit test context 2014-03-12 21:27:10 +00:00
Antony Male aa395d9cb5 Start writing unit tests for BootstrapperBase 2014-03-12 13:10:25 +00:00
Antony Male 3592a75723 Add unit tests for ActionExtension 2014-03-12 12:54:22 +00:00
Antony Male f3fdd86a03 Document BindableCollection 2014-03-12 12:13:15 +00:00
Antony Male 70010884a3 Actually test that EventAggregator doesn't retain its target 2014-03-11 13:52:44 +00:00
Antony Male 877a9b87a4 Small fices to BindableCollection, and finish its unit test suite 2014-03-11 13:34:42 +00:00
Antony Male 228147b634 Fix WasAutoCreated, and use to allow the user to replace framework-created bindings 2014-03-05 13:27:04 +00:00
Antony Male cc8e3343cf Finish off (?) the PropertyChangedExtensionsTests 2014-03-05 12:37:49 +00:00
Antony Male 684995eb98 Fix csproj 2014-03-04 13:25:34 +00:00
Antony Male 3f304d131c Start writing tests for (and fixing) PropertyChangedExtensions
Currently a test is breaking, not sure why
2014-03-04 13:20:58 +00:00
Antony Male a9e4961ea5 Bit more documentation 2014-03-04 08:22:01 +00:00
Antony Male 92568e0cbf Document CommandAction and EventAction, and make them consistent 2014-03-03 21:58:19 +00:00
Antony Male 7ee1f0ac0a Don't fetch the IViewManager every time the model changes 2014-03-03 21:33:39 +00:00
Antony Male ac83c4967d Rename View.Target -> View.ActionTarget 2014-03-03 21:32:07 +00:00
Antony Male 9a658a0b2d Attempt at making PropertyChangedExtensions work.. 2014-03-03 09:18:15 +00:00
Antony Male d87fc070ce Start of work on PropertyChangedExtentsions 2014-02-26 14:14:30 +00:00
Antony Male 2a1329627f Add 'SetAndNotify' to PropertyChangedBase 2014-02-26 13:42:29 +00:00
Antony Male d859e2e640 Start on dialog sample 2014-02-26 08:31:31 +00:00
Antony Male 75311f3d30 Fix WindowManager bug 2014-02-26 08:31:01 +00:00
Antony Male a6cfd64031 Little bit more work on master-detail 2014-02-26 08:23:28 +00:00
Antony Male 346220ae58 Start work on MasterDetail sample 2014-02-25 20:45:51 +00:00
Antony Male 770d7340b3 Fix a couple more bugs 2014-02-25 20:45:44 +00:00
Antony Male 1689624062 Change course slightly on ActionCommand 2014-02-25 19:58:55 +00:00
Antony Male 24c32e5290 WIP towards ActionCommand using expression trees. Needs a bit more work to finish it off... 2014-02-25 13:37:16 +00:00
Antony Male 6ee8927137 Stitch EventAggregator into bootstrapper 2014-02-25 13:21:26 +00:00
Antony Male 5f655188c5 Fix autobinding problem 2014-02-25 13:15:45 +00:00
Antony Male f41645ab89 Finish EventAggregator, and start writing tests 2014-02-25 13:12:34 +00:00
Antony Male 08d80404ec WIP on the EventAggregator 2014-02-24 08:06:56 +00:00
Antony Male b13908e762 Re-arrange bootloaders
Bootloader is now abstract, and called BootstrapperBase. The default
implmentations of the IoC functions have been removed - we include an IoC
container, no point in providing a Bootstrapper implementation which
doesn't use it.

IoCBootstrapper has been renamed Bootstrapper, to make it more obvious
that it's the primary bootstrapper.
2014-02-23 20:08:35 +00:00
Antony Male e37068838a Execute runs delegate synchronously if possible 2014-02-23 20:05:56 +00:00
Antony Male 40c9d4ed88 Get rid of the static ViewLocator and ViewModelBinder, and replace with the singleton ViewManager 2014-02-23 20:02:18 +00:00
Antony Male 1607dc9ad3 Add Stylet ResourceDictionary, and automatically load on startup 2014-02-23 19:31:24 +00:00
Antony Male 64cdced116 Add TabNavigation sample 2014-02-22 21:29:27 +00:00
Antony Male 9da8461004 Fix conductors, view binding, and add the WindowConductor 2014-02-22 21:24:36 +00:00
Antony Male e972f2d054 Start adding samples, and fix a couple of things along the way 2014-02-22 15:07:52 +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 4dffb7d833 Remove duplication in the builder 2014-02-20 12:44:32 +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 fd3ef7d1fd Actually add the new file... 2014-02-19 20:35:51 +00:00
Antony Male 4a626a95d9 Make BindTo internal 2014-02-19 08:24:07 +00:00