Skip to content

Ignore indexer Property with automapper 11 #3857

@jogibear9988

Description

@jogibear9988

In your upgrade Guide here:
https://github.com/AutoMapper/AutoMapper/blob/master/docs/11.0-Upgrade-Guide.md#c-indexers-item-property

You wrot eIndexers are not Ignored by default.

But how can I ignore them?
I tried per Type via:

 cfg.CreateMap<T,T>().ForMember(...);

But the "Item" Property is not visible in C#

How should it be done per member?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions