dadhi / dadhi/LempTest

Next steps to expand DI functionality just in case

Open
#1 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Open-generics support

Add registrations dictionary of
```cs
Key: Type
Value: Func>>
```
where Type in a Value is the closed-generic known upon resolution

## Register Type

Construct a manual expression.

## RegisterDelegate and RegisterInstance

Additional dictionaries with instances and delegates.

**We can establish a determined order of resolution** across the registration dictionaries we have.

## Singletons and Scopes

- Add scope hierarchy ending with singleton.
- Add OpenScope to IResolverContext
- Single dictionary of `Type -> object` inside

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.