Skip to content

Support for enumeration in TypeMap #249

Closed

Description

@adambajguz

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.

Activity

  1. self-assigned this
    on Aug 26, 2024
  2. sakno commented on Aug 26, 2024

    @sakno
    Collaborator

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

  3. sakno commented on Aug 26, 2024

    @sakno
    Collaborator

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

  4. added a commit that references this issue on Aug 26, 2024
    3d00609
  5. moved this from Opened to Closed in Coreon Aug 30, 2024
  6. adambajguz commented on Sep 1, 2024

    @adambajguz
    Author

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

  7. added a commit that references this issue on Nov 19, 2025
    afa9a09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions