Dynamicweb.eCommerce.Orders Namespace > OrderLineFieldValue Class : Equals Method |
public static bool IsEquals(OrderLineFieldValueCollection col1, OrderLineFieldValueCollection col2) { //Same count? if (col1.List.Count != col2.List.Count) { return false; } //Same OrderLineFieldValues? foreach (OrderLineFieldValue myValue in col1) { bool found = false; foreach (OrderLineFieldValue otherValue in col2) { if (myValue.Equals(otherValue)) { found = true; break; } } if (!found) { return false; } } return true; }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
OrderLineFieldValue Class
OrderLineFieldValue Members
Base Implementation in Equals