Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for enumeration in TypeMap #249

Closed
adambajguz opened this issue Aug 24, 2024 · 3 comments
Closed

Support for enumeration in TypeMap #249

adambajguz opened this issue Aug 24, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@adambajguz
Copy link

The TypeMap doesn't support enumeration.

It would be nice if you could add support for IEnumerable<KeyValuePair<Type, object>> or IEnumerable<object> or IReadOnlyDictionary<Type, object> in TypeMap.

@sakno sakno added the enhancement New feature or request label Aug 26, 2024
@sakno sakno self-assigned this Aug 26, 2024
@sakno
Copy link
Collaborator

sakno commented Aug 26, 2024

It has no support for enumeration because it doesn't know anything about Type. It's not based on typeof(T) operation.

@sakno
Copy link
Collaborator

sakno commented Aug 26, 2024

Oh, I see that IEnumerable<object> is suitable for you. This is doable.

@sakno sakno closed this as completed in 3d00609 Aug 30, 2024
@adambajguz
Copy link
Author

Thanks for quick addition of IEnumerable<object> support !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Closed
Development

No branches or pull requests

2 participants