Skip to content

Compare: RegisterAttributeWithDistinguishedComparer should resolve the comparer from within the IoC #6

@marco-bertschi

Description

@marco-bertschi

At the moment, IEqualityComparerHelperRegistration.RegisterAttributeWithDistinguishedComparer take an IComparer<TComparer, TIntention> as argument. This is most likely wrong, since we may just resolve the comparer from the ioC from the generic type arguments which are passed into the method anyways.

  • Check if there is a use case where a comparer instance must be set from external
  • Document
  • Adjust tests

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions