1

Resolved

Add a new attribute [ExportIndexAttribute] to order the mapping rule in collection

description

It will return the first mapping rule when we call ObjectContainer.CreateInstance.

ObjectContainer.CreateInstace = ObjectContainer.CreateInstaces.FirstOrDefault(),so we hope the mapping has a [Order] property to maintain rule's index in the collecion

comments