Simon G
af65b7fd46
#12 : add option to register and resolve open generic types
5 years ago
Simon G
0ee10c8ba9
- add OpenGenericRegistrationTest
5 years ago
Simon G
0b2879ddc3
- add registration methods for OpenGenericRegistration
5 years ago
Simon G
e816546eb2
- add OpenGenericRegistration
5 years ago
Simon G
2225c28e00
- add GenericMethodCaller
5 years ago
Simon G
58986c1b13
- fix file header
5 years ago
Simon G
bad8619c4c
- delete unused ResolveCallback
5 years ago
Simon G
8fde3a353b
- add .idea folder
5 years ago
Simon G
e32431561a
- remove old rider definition
5 years ago
Simon G
cf7c47a49f
- add rider/jetbrains IDEs
5 years ago
Simon G
3512fe3bad
- update version numbers
6 years ago
Simon G
5df73072c3
- update nuget packages and include source link
6 years ago
Simon G
19a20ffd92
- don't allow registration of lifestyle.multiton without iMultitonRegistration
...
- add iLifestyleProvider and move Lifestyle from IRegistratrionBase<> to it
- add non generic IMultitonRegistration as base class
6 years ago
Simon G
f5fefa400a
close #38 : remove UnitTestCallbackRegistration
6 years ago
Simon G
cd4b80de5b
close #35 : add test to check that NoMatchingConstructorException is not thrown wronly
...
- remove TESTME
6 years ago
Simon G
ea6b26abce
Merge pull request #37 from SimonG96/OnCreatePassImplementation_#34
...
On create pass implementation #34
6 years ago
Simon Gockner
1cc48414c9
- update version numbers to 2.1.0
6 years ago
Simon Gockner
6c8f979ea5
#34 : update .xml
6 years ago
Simon Gockner
604e85ceec
#34 : update unit tests
6 years ago
Simon Gockner
da39b44fd5
#34 : OnCreate passes `TImplementation`
...
-add `TImplementation` to `ITypedRegistrationBase` and `IOnCreate` and to every inheriting interface and class
- add non generic `IOnCreate` with `Action<object>` and use it in `CreateInstance()`
- add simplified interfaces for `IMultitonRegistration` and `ITypedRegistrationBase`
6 years ago
Simon Gockner
4620dfca85
- update version to 2.1.0-beta2
6 years ago
Simon Gockner
47d99ca9b9
- update version to 2.1.0-beta2
6 years ago
Simon Gockner
24319abb46
#33 : add multipleRegistrations for up to five interfaces
6 years ago
Simon Gockner
325320c8a2
- update nuget packages
6 years ago
Simon Gockner
7d50ea5590
Update LightweightIocContainer.xml
6 years ago
Simon Gockner
57a985420a
#33 : add test to resolve a singleTypeRegistration with lifestyle singleton
6 years ago
Simon Gockner
3eb25d84fc
#33 : add interfaceSegregationTest
6 years ago
Simon Gockner
024d820f91
#33 : add multipleRegistration handling, rename RegisterMultiton
6 years ago
Simon Gockner
66b31582c0
#33 : add iMultipleRegistration to registrationFactory, rename RegisterMultiton
6 years ago
Simon Gockner
8025f104d2
#33 : add IMultipleRegistration
6 years ago
Simon Gockner
b1387dfbe8
#33 : implement typedRegistrationBase and IOnCreate
6 years ago
Simon Gockner
ad0c53189b
#33 : add onCreateTest and remove it from RegistrationBaseTest
6 years ago
Simon Gockner
d682ebc233
#33 : add typedRegistrationBase
6 years ago
Simon Gockner
3f83b544d8
#33 : remove IOnCreate from iRegistrationBase
6 years ago
Simon Gockner
cb03bae119
#33 : add IOnCreate for two interfaces
6 years ago
Simon Gockner
c25896a56e
#33 : Add extension method to convert an action:
...
Needed to handle OnCreateActions from inheriting types later on
6 years ago
Simon Gockner
165cfd16f2
prepare for #33 : create interfaces for OnCreate an WithParameters
6 years ago
Simon G
33d857826f
- update readme
6 years ago
Simon Gockner
ca3c9ce788
- update version to 2.1.0-beta
6 years ago
Simon Gockner
fbc8c85a23
resolves #31 : create a snupgk package on build
6 years ago
Simon Gockner
fb37a91582
- update version to 2.1.0-beta
6 years ago
Simon Gockner
c43c78a6cc
- update version to 2.1.0-beta
6 years ago
Simon Gockner
d8dfb7a3cd
- add test case (no stack available)
6 years ago
Simon Gockner
a2b2334767
- use stringBuilder to build message instead of +=
6 years ago
Simon Gockner
da1106e77f
#30 : add `IocContainerException` base exception:
...
- all exceptions inherit this base class
- allows handling of exceptions outside of the LightweightIocContainer
6 years ago
Simon G
0ff27b114b
Merge pull request #32 from SimonG96/ChangeFluentRegistration_#29
...
Change fluent registration #29
6 years ago
Simon Gockner
cc52cd3361
#29 : add ISingleTypeRegistration unit test
6 years ago
Simon Gockner
47931b3dd1
#29 : fix return value of `WithFactoryMethod()`
6 years ago
Simon Gockner
3c636a786e
#29 : add unit test for withParameters method
6 years ago
Simon Gockner
62b36cb506
#29 : add `WithParameters()` method to IRegistrationBase:
...
- pass parameters that will be used to create an instance of the registered type
- add new method `UpdateArgumentsWithRegistrationParameters()` that handles these parameters in the `CreateInstance<>()` method
6 years ago