Does Automapper preserve mapped list item order? -
i not find information on list item mapping order in automapper's documentation or unit tests. if try map new list<int>() { 1, 2, 3, 4 } list<int>, can sure new list have items { 1, 2, 3, 4 } in same order?
automapper's unit tests regarding lists check if new list contains items , have no assumptions regarding item order.
Comments
Post a Comment