Simon G
430f58e1c4
- use file scoped namespaces
3 years ago
Simon G
e5b984a058
#58 : fix double wrapped constructorNotMatchingExceptions
3 years ago
Simon G
66f3d78d1e
- pr fixes
3 years ago
Simon G
f4517a809d
- update to .net 6.0
...
- update nuget packages
3 years ago
Simon G
2acc4e0bf5
Merge pull request #57 from JCH2k/master
...
Fixed validation with parameter for registrations without factory
3 years ago
Simon G
277fb60873
- don't allow resolve of type if a factory is registered for it
3 years ago
JCH2k
9547685b51
Adapted test PR #57
4 years ago
JCH2k
75233628d0
refactoring as suggested in PR #57
4 years ago
JCH2k
0b5f24ea04
Fixed validation with parameter for registrations without factory
4 years ago
Simon G
7755f3df3d
- rename iResolve to IIocResolver
4 years ago
Simon G
b3e9e8127c
- fix bug where singletons could be created multiple times
4 years ago
Simon G
1072e62563
- prepare for version 3.0.0
4 years ago
Simon G
50ee006585
- update tests to .net 6
4 years ago
Simon G
2ba8c3d963
#44 : validator only checks if types can be created, doesn't really create them
4 years ago
Simon G
e062031aac
- remove not needed code
4 years ago
Simon G
5d31171c31
- pass mock instead of null
4 years ago
Simon G
6b6a549304
- add register to interface
4 years ago
Simon G
3bea00c409
- allow registration of same types if registered equally
4 years ago
Simon G
f4ec79331a
- refactoring
4 years ago
Simon G
440b4ae7f6
- make exceptions internal
4 years ago
Simon G
3485b93d84
- remove not needed annotations
4 years ago
Simon G
52b9a4cf11
- add validation for disposeStrategies set for types that aren't disposable
4 years ago
Simon G
775afe4e45
- add validation for multiton factories
4 years ago
Simon G
3acd6adfea
- completely rework registration:
...
- creation of registrations is done in registrationCollector now
- installers don't get container anymore, get registrationCollector
- allow validation
- introduce dispose strategies (#55 )
4 years ago
Simon G
73355269e0
- fix wrong addition of multiton scope
4 years ago
Simon G
b8f2287fac
- csproj clean up
4 years ago
Simon G
dec129de3a
- update nuget packages
4 years ago
Simon G
6c55441514
#55 : dispose disposable singletons and multitons when container is disposed
4 years ago
Simon G
3b11e24e7b
#51 : completely rework resolve
...
- introduce new method TryResolve that is used by internalResolve and tryGetConstructorResolveStack
- add own creator helper class
- fix nullable warnings
4 years ago
Simon G
fe8642fd22
#51 : add failing test cases for multiLayer resolving
4 years ago
Simon G
86bc727334
- update to .net 5
...
- update version
4 years ago
Simon G
23292051d6
- implement iDisposable
4 years ago
Simon G
c8a7f6539c
Merge remote-tracking branch 'origin/master'
4 years ago
Simon G
19fb3b1d0f
- add factory validation
4 years ago
Simon G
39b18afb5d
- allow multiple registration of factories
4 years ago
Simon G
3984c1fdd9
- revert
4 years ago
Simon G
e6109b1099
- try fixing tests
4 years ago
Simon G
604ed9b2ef
- remove wrong `-`
4 years ago
Simon G
0d627f8b2f
- update used .net sdk version
4 years ago
Simon G
c8b9654498
- update version
4 years ago
Simon G
3cce14a103
- update csproj
4 years ago
Simon G
040fb219ec
- update version number to 3.0.0-beta2
4 years ago
Simon G
b7d0db3c9b
#54 : enabled nullable
...
- fix nullable warnings
4 years ago
Simon G
b4cf096e96
#51 : add comments
4 years ago
Simon G
16604f89c2
#51 : fix unit test warning
4 years ago
Simon G
7bab6bccda
#51 : extract tryGetTypeResolveStack() method
4 years ago
Simon G
6687bdb8b4
#51 : add tests for withParameter and singleton registrations
4 years ago
Simon G
502df887ba
#51 : simplify removal of argument
4 years ago
Simon G
b9f29cdb01
#51 : fix unit test, add circular cross dependency test
4 years ago
Simon G
dd2e0fe4d7
#51 : get a constructor resolve stack before actually resolving parameters
...
-> no unused parameters are generated while checking if a constructor can actually be used
4 years ago