23 Commits

Author SHA1 Message Date
Samuele Lorefice
1a0e034829 Bump version to 0.0.2.1-alpha
All checks were successful
Nuget Pkg Build / build (push) Successful in 5m56s
v0.0.2.1-alpha
2026-06-15 00:46:54 +02:00
Samuele Lorefice
b9c4f65892 Added descriptions for all tests
All checks were successful
Nuget Pkg Build / build (push) Successful in 1m43s
2026-06-15 00:39:55 +02:00
Samuele Lorefice
fda62e30bc removed stub file 2026-06-15 00:38:39 +02:00
Samuele Lorefice
5dfee34bf5 Added unit testing 2026-06-15 00:37:40 +02:00
Samuele Lorefice
8fc2fbc7f1 Removed SandboxProject 2026-06-15 00:37:30 +02:00
Samuele Lorefice
f8f814dd16 Removed targeting for .Net 9 2026-06-15 00:27:32 +02:00
Samuele Lorefice
568ab548e5 fix: rewrite ServiceContainer resolution logic and add AGENTS.md
- Replace broken reflection-based GetService(Type, args) with
  direct ResolveService method
- Fix positional argument matching (type-based FirstOrDefault)
- Fix greedy constructor scoring (no double-count)
- Narrow TryGetService exception handling to InvalidOperationException
- Throw on duplicate registrations
- Add IDisposable support
- Add thread-safe singleton creation
- Create AGENTS.md with repo guide
2026-06-15 00:24:44 +02:00
Samuele Lorefice
65f624a355 Exposes GetService(Type, obiect[]? args) and it's safer variant TryGetService() to enable consumers to request a service without needing to do reflection work themselves.
All checks were successful
Nuget Pkg Build / build (push) Successful in 1m11s
bumps version to 0.0.1.8-alpha
v0.0.1.8-alpha
2025-10-01 19:03:53 +02:00
Samuele Lorefice
66e7fcc798 Fixes #5 makes copy of the args list instead of stripping it away from the descriptor (preventing catastrophic problems). Bumps version
All checks were successful
Nuget Pkg Build / build (push) Successful in 1m7s
v0.0.1.7-alpha
2025-09-24 19:53:29 +02:00
Samuele Lorefice
c888da8045 Fixes #4, renames ServiceLifetime.Lifetime to Singleton, adds support for arguments in constructors, version bumps.
All checks were successful
Nuget Pkg Build / build (push) Successful in 49s
v0.0.1.6-alpha
2025-09-24 18:06:57 +02:00
Samuele Lorefice
b9fbb4b851 Version bump with new fixes
All checks were successful
Nuget Pkg Build / build (push) Successful in 1m0s
v0.0.1.5-alpha
2025-09-24 04:08:53 +02:00
Samuele Lorefice
3df2f50765 Fixes #2 by providing a proper implementation of GetServices that actually returns instances of those services instead of just a list of types. 2025-09-24 04:07:24 +02:00
Samuele Lorefice
d20788de33 Rename method GetServices to GetServiceTypes for clarity (relevant for #2) 2025-09-24 03:55:01 +02:00
Samuele Lorefice
b8f2ddad5a Fixes #1 by searching also inside the implementation types list 2025-09-24 03:51:39 +02:00
86513ec6c6 Update .gitea/workflows/nuget-pkg-build.yml 2025-09-22 03:38:32 +02:00
Samuele Lorefice
debedc837e Added shorthands methods for no-interface service types
All checks were successful
Nuget Pkg Build / build (push) Successful in 42s
v0.0.1.4-alpha
2025-09-22 03:15:51 +02:00
Samuele Lorefice
d0ccdbfa0f Updated workflow, widened support, now including Net 8, 9 and 10
Some checks failed
Nuget Pkg Build / build (push) Failing after 58s
v0.0.1.3-alpha
2025-09-22 02:26:07 +02:00
Samuele Lorefice
16d0142967 enables CI flag 2025-09-21 23:04:36 +02:00
Samuele Lorefice
b06e886cf2 CI/CD Fixes 2025-09-21 21:54:22 +02:00
Samuele Lorefice
043cba4b3f Added support for multiple constructors and best match greedy resolution.
Some checks failed
Nuget Pkg Build / build (push) Failing after 25s
v0.0.1.2-alpha
2025-09-21 21:30:41 +02:00
Samuele Lorefice
e2cc807f70 Documentation pass
All checks were successful
Nuget Pkg Build / build (push) Successful in 22s
v0.0.1.1-alpha
2025-09-21 20:48:41 +02:00
Samuele Lorefice
bf46d235af Project rename 2025-09-21 19:59:54 +02:00
Samuele Lorefice
df9ad345ea Initial files 2025-09-21 06:58:10 +02:00