Commit graph

39 commits

Author SHA1 Message Date
Mike Bierlee
9b05aa3af9 Reformat code to use otbs brace style
It's more compact and more common in the coding world these days.
2023-03-07 01:24:28 +03:00
Mike Bierlee
fd9d63a6ec Update copyrights 2023-01-11 02:01:51 +03:00
Mike Bierlee
c5e458f75a Update copyrights 2022-02-18 00:45:03 +03:00
Mike Bierlee
dcaa4d77be Autoformat code according to The D Style 2021-05-01 22:16:44 +03:00
Mike Bierlee
8f4a64cf4c Move injection initializer to registration scope 2021-04-29 01:45:08 +03:00
Mike Bierlee
89512e0cb0 Move initializer to its own example 2021-04-29 01:45:08 +03:00
Mike Bierlee
1ae7f5789c Clarify example running readme 2021-04-29 01:45:08 +03:00
Mike Bierlee
ef00ec4f6f Merge remote-tracking branch 'origin/master' into develop 2021-01-04 02:11:17 +03:00
Mike Bierlee
3f6636109e Update copyrights 2021-01-04 02:04:20 +03:00
Mike Bierlee
7a26dd12e0
Merge pull request #28 from huntlabs/develop
Instance initialization improved
2020-03-18 21:25:02 +03:00
Mike Bierlee
81de14a1ee Update copyrights 2020-03-11 23:38:54 +03:00
heromyth
3b11c4aec4 Add a constuction handler 2020-02-26 16:14:12 +08:00
heromyth
b9d4bd1b83 Register with an initializer. 2020-02-09 23:46:06 +08:00
Mike Bierlee
343dd65fdf Update copyrights 2019-07-14 12:40:16 +03:00
Mike Bierlee
4410206ec4 Update copyrigths
And convert tabs to spaces
2018-01-01 15:56:47 +01:00
Mike Bierlee
e90306ef57 Update copyrights 2017-02-13 20:20:35 +01:00
Mike Bierlee
0fc7c82321 Add post-constructor/pre-destructor example 2016-12-18 02:18:04 +01:00
Mike Bierlee
d3f049eb9f Add note about naming convention 2016-12-12 22:51:26 +01:00
Mike Bierlee
932e3dab6b Add value injection example 2016-12-12 22:51:26 +01:00
Mike Bierlee
67fa51a14f Fix minor details 2016-09-03 18:36:26 +02:00
Mike Bierlee
bfb23baf69 Extend quickstart example with constructor injection 2016-09-03 18:19:38 +02:00
Mike Bierlee
ab30e633e0 Add example on constructor injection 2016-08-25 21:17:47 +02:00
Mike Bierlee
9e5a27d046 Deprecate singleton factory method
The factory method encourages misuse of dependency injection (by using it as a service locator). Removing the factory method forces the user to make this choice deliberately.
2016-08-08 22:17:17 +02:00
Thayne McCombs
6255292069 Use bit flags for options.
A more idiomatic and efficient way of passing options.
2016-06-26 21:45:48 -06:00
Mike Bierlee
7308702dfe Add ability to mark autowire dependencies as optional 2016-02-15 22:52:48 +01:00
Mike Bierlee
f1e7b2809c Add example for detailing how registration on resolve works 2016-02-09 21:30:51 +01:00
Mike Bierlee
fdbd3c06a1 Make all autowired members in examples and the tutorial private
To set a proper example!
2016-02-09 21:06:07 +01:00
Mike Bierlee
7bd0795b3f Fix line delimiters 2016-01-06 20:28:25 +01:00
Mike Bierlee
c35e494dfe Update copyrights 2016-01-06 20:18:35 +01:00
Mike Bierlee
664c51b9c4 Add license to examples 2015-12-28 22:45:15 +01:00
Mike Bierlee
435dc37c3c Add application context example 2015-12-28 22:38:58 +01:00
Mike Bierlee
a59e7a9731 Add example project demonstrating @AssignNewInstance 2015-07-06 22:55:41 +02:00
Mike Bierlee
9d5b4e97a7 Add array completion example 2015-07-04 14:32:08 +02:00
Mike Bierlee
71ac539f2a Add canonical package module
This commit deprecates non-canonical package module "dependency.d".
2015-07-01 21:06:55 +02:00
Mike Bierlee
a919402981 Rename dependency container instance in examples more aptly 2015-03-22 14:55:45 +01:00
Mike Bierlee
1123aa0ef9 Escape chevrons 2015-02-21 17:55:14 +01:00
Mike Bierlee
aac43cca15 Add building instructions for examples 2015-02-21 17:53:15 +01:00
Mike Bierlee
2a69cb4757 Add example where qualifiers are used 2015-02-21 17:48:55 +01:00
Mike Bierlee
a41bfe8ac4 Add quickstart example from README as compilable sub-config 2015-02-21 17:20:57 +01:00