mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-05-16 10:10:43 +00:00
feat(benchmark_di): add resolve phases, eager/lazy scenarios, and adapter parity
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
/// Enum to represent the DI registration/binding mode.
|
||||
enum UniversalBindingMode {
|
||||
/// Singleton/provider binding.
|
||||
/// Eager singleton — instance created at registration time.
|
||||
singletonStrategy,
|
||||
|
||||
/// Factory-based binding.
|
||||
/// Lazy singleton — instance created on first resolve, then cached.
|
||||
lazySingletonStrategy,
|
||||
|
||||
/// Factory-based binding — new instance every time.
|
||||
factoryStrategy,
|
||||
|
||||
/// Async-based binding.
|
||||
|
||||
Reference in New Issue
Block a user