Simon G.
45125eb926
- refactoring and adapt to new language features
1 year ago
Simon G.
c5b8ffd885
- use .net 9 for unit tests
1 year ago
Simon G.
fc8faf6b23
- adapt unit tests to new nunit asserts
1 year ago
Simon G.
81a7e869bf
- update nuget packages, use latest langVersion
1 year ago
Simon G.
d79158aaa6
- allow async onCreate method by introducing async resolve
1 year ago
Simon G.
9a5abca32b
- fix multiton resolve with int as scope
1 year ago
Simon G.
c4d67e0ba3
#60 : add failing unit test
1 year ago
Simon G.
8102db3f77
- add test case for factory for open generic types with ctor parameters
2 years ago
Simon G.
bac70872fc
- add used implicitly attribute
2 years ago
Simon G.
7cc36927ed
- fix factories of open generic registration
2 years ago
Simon G
3ee8910378
- replace moq with nSubstitute
2 years ago
Simon G
df331dc26d
- remove IocIgnoreConstructorAttribute
...
- allow registration of custom ignoreConstructor attribute
3 years ago
Simon G
a163e19c1e
- multitons need first argument in ctor to be scope
3 years ago
Simon G
23fd988dde
- remove now invalid test case
3 years ago
Simon G
2c57421e21
- fix passed null in factories
...
- fix ctors without params not checking for remaining args
3 years ago
Simon G
a6f446666e
- don't allow to use ctors where not all given arguments are used
...
- fix wrong parameter array size
3 years ago
theKBro
cb02acc1b2
split test project
3 years ago
theKBro
a71e2b7d88
Split package into multiple packages
...
- extract validation
3 years ago
Simon G
ecf14c89dc
- use correct version
3 years ago
Simon G
c92d0b4dfa
- use implicit usings
3 years ago
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
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
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
3bea00c409
- allow registration of same types if registered equally
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
dec129de3a
- update nuget packages
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
19fb3b1d0f
- add factory validation
4 years ago
Simon G
040fb219ec
- update version number to 3.0.0-beta2
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
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
Simon G
8e2c45a5cf
- extract resolve to IResolver interface
4 years ago
Simon G
4ab55e8bfc
#52 : update visibility for registration properties
4 years ago
Simon G
d83d94e393
- refactoring
4 years ago