Skip to content

Commit

Permalink
Updated XML doc of CollectionMatchingSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
GregFinzer committed Mar 8, 2022
1 parent 8b890f2 commit f578c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compare-NET-Objects/ComparisonConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ public Action<Difference> DifferenceCallback
}

/// <summary>
/// This property is used when IgnoreCollectionOrder is set to true, otherwise it has no effect.
/// Sometimes one wants to match items between collections by some key first, and then
/// compare the matched objects. Without this, the comparer basically says there is no
/// match in collection B for any given item in collection A that doesn't Compare with a result of true.
Expand All @@ -487,7 +488,7 @@ public Action<Difference> DifferenceCallback
/// You can use complex type properties, too, as part of the key to match. To match on all props/fields on
/// such a matching key, Don't set this property (default comparer behavior)
/// NOTE: types are looked up as exact. e.g. if foo is an entry in the dictionary and bar is a
/// sub-class of foo, upon encountering a bar type, the comparer will not find the entry of foo
/// sub-class of foo, upon encountering a bar type, the comparer will not find the entry of foo
/// </summary>
#if !NETSTANDARD
[DataMember]
Expand Down

0 comments on commit f578c61

Please sign in to comment.